perl -i.bak -pe "$_='' unless $.>1"
the -i.bak is necessary cause you cant use i without a backup extension on Win32.
First they ignore you, then they laugh at you, then they fight you, then you win.
-- Gandhi
In reply to Re: perl -pie "???"
by demerphq
in thread perl -pie "???"
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |