![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: File read and stripby Hofmator (Curate) |
on Nov 15, 2006 at 07:18 UTC ( #584110=note: print w/replies, xml ) | Need Help?? |
Fix: (one-liner) Should be perl -ne "print unless /^#/" infile > outfile. Apart from that all very sound advice, ikegami++! -- Hofmator Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Seekers of Perl Wisdom
|
|