note
tye
<p>This is easier to type:</p>
<code>
perl -pe 'chomp;s/^\+//||s/^/\n/;END{print"\n"}' # Unix
perl -pe "chomp;s/^\+//||s/^/\n/;END{print qq.\n.}" # Win32
</code>
<p>And you can drop the <code>END{...}</code> part if you
just append an extra blank line to the input or don't mind
the missing final newline on the output.</p>
22273
22284