in reply to Re: Must have CLI of Perl's sed's n command
in thread Must have CLI of Perl's sed's n command

> Your formatting is kind of terrible,

yep, that's one way to express it.

> skip if the first line (next if $. == 1)

If that's the goal (???) $.-1 is false for the first line only, he could && it with the flip-flop's start condition.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery