Think about Loose Coupling | |
PerlMonks |
Re^4: looking for speed!! large file search and extractby kutsu (Priest) |
on Jan 12, 2005 at 17:08 UTC ( [id://421665]=note: print w/replies, xml ) | Need Help?? |
then change holli's command line statement from perl -n -e "print if /^abcde/ && /PARTNAME$/" c:\somefile.txt>k:\1\somefile.txt to perl -n -e "print if /^xyzdf/ && /xyzdf$/" c:\somefile.txt>k:\1\somefile.txt If you don't understand this I really recommend you read perlre Update: Somehow missed reading "line directly above", so ignore the rest...except for reading perlre that's always a good idea if you haven't "Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce
In Section
Seekers of Perl Wisdom
|
|