[Info-vax] Removing blank lines from text files

Phillip Helbig undress to reply helbig at asclothestro.multivax.de
Sat Jul 13 00:30:08 EDT 2019


In article <qejlm7$r5i$1 at dont-email.me>, Stephen Hoffman
<seaohveh at hoffmanlabs.invalid> writes: 

> On 2019-06-21 21:08:54 +0000, Jim said:
> 
> > $ search.out=t.t file.dat ""
> 
> To me, that looks like fodder for a parsing error if there were better 
> syntax checking within DCL and thus quite possibly unstable, but... 
> it's DCL... so... okay.

And it works.  I was surprised; I thought that "" would match a blank 
line as well.

It is pure DCL.  It is quick.  It is one line.  It works.  Why go 
elsewhere?

The one remaining question is whether this is documented behaviour or 
just happens to work with your and my versions of VMS.




More information about the Info-vax mailing list