Perl Contests
corliss at alaskapm.org
corliss at alaskapm.org
Mon Nov 29 18:01:19 CST 1999
On Mon, 29 Nov 1999, Leif Sawyer wrote:
> Well, helpfull, i guess.. obfuscated is hard to do, usually.. both are
> great!
>
> from Camel 4.0:
>
> perl -ne 'print if /\S/ || !$s; $s = /^\s*$/;'
>
> Which is great to pipe CPP into, because all those blank
> lines get squeezed into one..
Forgot a tilde in the last statement. . . ;-)
--Arthur Corliss
Perl Monger/Alaska Perl Mongers
http://www.alaskapm.org/
=================================================
Mailing list info: If at any time you wish to (un|re)subscribe to
the list send the request to majordomo at hfb.pm.org. All requests
should be in the body, and look like such
subscribe anchorage-pm-list
unsubscribe anchorage-pm-list
More information about the Anchorage-pm
mailing list