$ perl -le 'print ++$_ for 0..9;' 1 2 3 4 5 6 7 8 9 10 [download]
In reply to Re: How to print a newline in oneliners ... by Laurent_R in thread How to print a newline in oneliners ... by karlgoethebier