Perl: the Markov chain saw | |
PerlMonks |
Re: tracking progress of gzip'd fileby Vautrin (Hermit) |
on Feb 09, 2004 at 23:07 UTC ( [id://327767]=note: print w/replies, xml ) | Need Help?? |
If you really want to use a shell script consider chaining in the % wc -l command. That way you could have the first line be the number of lines you have to process. Even better, follow one of the suggestions others have made about opening the file from within perl.
Want to support the EFF and FSF buy buying cool stuff? Click here.
In Section
Seekers of Perl Wisdom
|
|