No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
At the risk of annoying the Perl Monks, and talking about not perl things, your script is not very optimised.
1. Use AWK..it was designed for this sort of thing. 2. If you really want to use shell, look into cutting down the number of external call to grep/egrep/wc, etc, and don't post here... i.e. remove one external call to wc the same goes for setting 'stat=1'. Do it in one loop. In reply to Re: Extracting data from a messy file (slow performance)
by Anonymous Monk
|
|