You can use the quad deblank command.
If your file is really large, you may have to bump your quadfilesize jcw...
:SETJCW QUADFILESIZE=16383
:QUAD
T <FILENAME>:U
DEBLANK ALL
KEEP:U
EXIT
Enjoy,
Paul Scott
Problem Solved
ph: 707-451-2611
fax: 707-471-6553
pager: 888-541-3477
[log in to unmask]
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of Bartram, Chris (Contractor)
Sent: Wednesday, September 11, 2002 11:52 AM
To: [log in to unmask]
Subject: [HP3000-L] deleteing blank lines in an ascii text file
Having a brain lapse I think...
Any easy way (short of writing a script) to take an MPE file (ASCII fixed
record size- NOT bytestream) and delete all the blank lines in it?
(resulting in an ascii non-bytestream file with only non-blank records?)
Have basic MPE/iX, MPEX, and quad to work with.
I thought I remembered some wildcard (like %blank% ? ) that you could use to
delete a blank line in Editor or Quad, but can't find it in either's help.
TIA,
Chris Bartram
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|