http://qs321.pair.com?node_id=584110


in reply to Re: File read and strip
in thread File read and strip

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.