perl -pi -e'$_ x=$.>1'
Doesn't work with multiple files though.
Of course, that has already been posted…
Makeshifts last the longest.
In reply to Re^2: perl -pie "???"
by Aristotle
in thread perl -pie "???"
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |