[Chicago-talk] removing blank lined header

Andy_Bach at wiwb.uscourts.gov Andy_Bach at wiwb.uscourts.gov
Tue Sep 28 15:55:28 CDT 2004


This works:
perl -ne 'print unless 1 .. /\w/ and ! /\w/ ' /tmp/dp.out

so shouldn't this (it doesn't):
perl -ne 'print if 1 .. /\w/ or  /\w/ '

oops. 
perl -ne 'print if ! 1 .. /\w/ or  /\w/ '

never mind - unless anybody has a less logical method.

a

Andy Bach, Sys. Mangler
Internet: andy_bach at wiwb.uscourts.gov 
VOICE: (608) 261-5738  FAX 264-5932

Contrariwise," continued Tweedledee, "if it was so, it might be, and
if it were so, it would be; but as it isn't, it ain't.  That's logic!"
              -- Lewis Carroll, "Through the Looking Glass"


More information about the Chicago-talk mailing list