in reply to Re: Merging multiple files
in thread Merging multiple files
perl -pe 'next if ...
The print done by the -p option cannot actually be skipped with next, as it's in a continue block, and therefore executes anyway.
But you could of course use -n instead and say 'print unless $.>1 and ...'
|
|---|