> 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