HP3000-L Archives

September 2002, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ken Hirsch <[log in to unmask]>
Reply To:
Ken Hirsch <[log in to unmask]>
Date:
Wed, 11 Sep 2002 14:52:53 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
At prompt, type /bin/ed FILENAME
where FILENAME is the name of your file in all caps.
If it's in a different group, you'll need to HFS it. i.e.
/bin/ed ../GROUP/FILENAME

Then type
g/^$/d
followed by <ENTER>
wq
followed by <ENTER>

That's it.

----- Original Message -----
From: "Bartram, Chris (Contractor)" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, September 11, 2002 2:51 PM
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 *

ATOM RSS1 RSS2