home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!auvm!UCSFVM.UCSF.EDU!YOSSIE
- Organization: University of Califonia San Francisco
- Message-ID: <VM-UTIL%92073018224629@OHSTVMA.IRCC.OHIO-STATE.EDU>
- Newsgroups: bit.listserv.vm-util
- Date: Thu, 30 Jul 1992 15:14:21 PDT
- Sender: VM Utilities Discussion List <VM-UTIL@OHSTVMA.BITNET>
- From: Yossie Silverman <YOSSIE@UCSFVM.UCSF.EDU>
- Subject: Re: NETDATA File Creation Program
- In-Reply-To: Message of Thu, 30 Jul 1992 14:50:47 PDT from <DWIGHT@UCSBVM>
- Lines: 33
-
- Use PIPE! :-)
-
- The problem will be to identify the RDR file and then execute the
- correct PIPE.
-
- It's not very hard.
-
- How about this, for startes, which reads a NETDATA file and write's
- it out as NETDATA:
-
- 'PIPE reader | nfind' '41'x||'| spec 2-* | deblock netdata |',
- 'block netdata | punch'
-
- Then you need to close the PUN (the RDR is automatically closed and purged
- at the end of the reader stage.)
-
- I am not sure you want or need the deblock|block stages, it might work
- pretty well without them too.
-
- To read a normal punch file skip the 'deblock' stage.
-
- In the case of a print file, the 'nfind' stage should be changed to
- a 'mctoasa' stage as well as getting rid of the 'deblock' stage.
-
- PIPE is a VERY powerful command which can be used to solve LOTS of
- problems - like these.
-
- - Yossie
-
- ---
- Yossie Silverman "What did the Caspian Sea?" - Saki
- I'Net: yossie@ucsfvm.ucsf.edu
- Bitnet: YOSSIE@UCSFVM B5/4 f- w- t cd g++ k++ s++ p
-