On Mon, Jul 22, 2002 at 08:23:08PM +0100, Geoff Hubbard wrote: > On Mon, Jul 22, 2002 at 01:14:22PM -0600, Michael W Thelen wrote: > > On Mon, Jul 22, 2002 at 08:55:24PM +0200, Steffen Mueller wrote: > > > perl -ae 'print"@F[1..$#F-1] > > > $F[$#F]"' > > > > Here's one that's two strokes shorter (and probably can be made better): > > > > perl -ae 'print"@F[1..@F-2] > > $F[-1]"' > > perl -pae '$_="@F[1..@F-2] > $F[-1]"'
perl -ape '$\=pop@F;$_=@F[1..@F]' Untested. /prakash -- |If you really want pure ASCII, save it as text... or browse it with | |your favorite browser... | | -- Alexandre Maret <[EMAIL PROTECTED]> |
