home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / bit / listserv / vmutil / 1324 < prev    next >
Encoding:
Text File  |  1992-07-30  |  1.5 KB  |  46 lines

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