Keep It Simple, Stupid | |
PerlMonks |
Re^3: how to use matching operator on newlinesby ikegami (Patriarch) |
on Jan 03, 2007 at 21:37 UTC ( [id://592835]=note: print w/replies, xml ) | Need Help?? |
perl -pe 'BEGIN{$/="\n\n";$\="\n"} chomp;' foo.txt
In Section
Seekers of Perl Wisdom
|
|