[Info-vax] Removing blank lines from text files

Steven Schweda sms.antinode at gmail.com
Sat Jun 15 00:25:03 EDT 2019


> Alas, that also finds lines with whitespace but no text.

   Then they're not really blank lines, are they?

   Then all you need is a (prehistoric) "sed", (like mine):

its $  search /wild bls.txt "%"
a
b
c
   
d
   
its $ pipe sed -e "s/ *//" < bls.txt | search /wild sys$input "%"
a
b
c
d
its $ 


   Or do I need to handle spaces _and_ tabs?



More information about the Info-vax mailing list