[Chicago-talk] removing blank lined header

Steven Lembark lembark at wrkhors.com
Wed Sep 29 00:03:09 CDT 2004


> perl -n -e 'print unless /^\s*$/'

Depending on how much data you have, 'print if /\S/' will
be faster since it can stop at the first non-space char
it finds on the line.


-- 
Steven Lembark                                       85-09 90th Street
Workhorse Computing                                Woodhaven, NY 11421
lembark at wrkhors.com                                     1 888 359 3508


More information about the Chicago-talk mailing list