SPUG:Best One-Liners and Scripts for UNIX

Brian Hatch spug at ifokr.org
Thu Apr 17 17:44:12 CDT 2003



> Ah yes, trailing whitespace.
> 
>   	$PERL5 -lape'($_="@F['$fields']")=~s/\s+$//' $@

TMTOWTDI.

But yours was better.

(It's always instructive to revisit stuff you wrote
seven years ago and laugh at how badly you did it...)


--
Brian Hatch                  There you have the
   Systems and                source of your
   Security Engineer          popularity
http://www.ifokr.org/bri/      -- your absense.

Every message PGP signed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/spug-list/attachments/20030417/9f149aa4/attachment.bin


More information about the spug-list mailing list