I'm seeking some wisdom so I have come to you.
I have a big gzip file which I unzip from a shell script and pass to my perl program:
gzip -dc log.gz | prog.pl
Using a while(<>) loop, I read in each line and run some tests on that line.
What I need to know is, how much of that gzip file I have processed, so that I can pass a value to my progress bar to show how far through it is.
Thanks for any advice.
js1.
In reply to tracking progress of gzip'd file by js1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |