[Info-vax] Removing blank lines from text files

Arne Vajhøj arne at vajhoej.dk
Fri Jun 14 22:02:27 EDT 2019


On 6/14/2019 9:55 PM, Bob wrote:
> Is there some simple DCL command, or a few commands, that I can use to remove blank lines from a file?
> 
> I can obviously write a small DCL script to read the file, and write the non blank lines, but I'm wondering if there is an easier way.

If there is a list of strings where all non-blank lines will contain at 
least one of them, then you should be able to use SEARCH.

Arne




More information about the Info-vax mailing list