in reply to perl -pie "???"
perl -nie 'print if $. > 1' # Better perl -ie '<>; print while <>'
Oops. I don't use -i enough to realize that the following text is an argument for it.
perl -ibak -n -e 'print if $. > 1' # Better perl -ibak -e '<>; print while <>'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl -pie "???"
by hv (Prior) on Aug 17, 2004 at 21:45 UTC | |
by Jasper (Chaplain) on Aug 19, 2004 at 11:26 UTC | |
|
Re^2: perl -pie "???"
by Plankton (Vicar) on Aug 17, 2004 at 21:32 UTC | |
by bmann (Priest) on Aug 17, 2004 at 21:42 UTC | |
by hv (Prior) on Aug 17, 2004 at 21:42 UTC | |
by ikegami (Patriarch) on Aug 17, 2004 at 21:43 UTC | |
by Anonymous Monk on Aug 17, 2004 at 21:43 UTC |