( ang | 2023. 09. 28., cs – 10:01 )

megáll a PROVIDER_JSON olvasásásnál?

+ IFS='
'
+ INVOICES=($(sed -En "s/.*clickSzamlaGTM\('szamla_select', ([0-9]+).*/\1/p" <<<"${INVOICES_PAGE}"))
++ sed -En 's/.*clickSzamlaGTM\('\''szamla_select'\'', ([0-9]+).*/\1/p'
+ progress
++ sed 's/ ()$//'
+ local 'PROVIDER_NAME=MVM Next - Foldgaz (xxxx)'
+ type pv
+ awk -v 'name=MVM Next - Foldgaz (xxxx)' -v total=0 '{printf "\033[2K\rdownload \"%s\", total: %d, current: %d", name, total, $1; fflush(stdout)}
         END {if (NR>0) printf "\n"}'
+ read -r PROVIDER_JSON
+ rm /home/user/.tmp/tmp.PESGDcRXIP