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

$_ and $. are not the same thing.

Could you show the sed example you're trying to mimic? I'm not sure I understand.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]