{ local $\ = "\n"; while (<>) { chomp; if (/^ENDDESCRIPTION$/) { print "\n"; $\ = "\n"; } print; $\ = "" if /^DESCRIPTION$/; } }
-- Abigail
In reply to Re: Removing linefeeds from part of a file
by Abigail
in thread Removing linefeeds from part of a file
by Desdinova
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |