home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2396 < prev    next >
Internet Message Format  |  1990-12-28  |  1KB

  1. From: cluther@supernet.haus.com (Clay Luther)
  2. Newsgroups: alt.sources
  3. Subject: Re: Gate - simple mail->news->mail gateway suite (Part 1 or 1)
  4. Message-ID: <1990Dec22.205203.4920@supernet.haus.com>
  5. Date: 22 Dec 90 20:52:03 GMT
  6.  
  7. rsalz@bbn.com (Rich Salz) writes:
  8.  
  9. >Get the spool file into text, I assume?
  10. >>S=`cat $SFILE`
  11.  
  12. >If your message has some text that looks like mail
  13. >From: your mother
  14. >for example, you'll get confused.  How about this, instead
  15. >    S=`sed /^$/q <$SFILE`
  16.  
  17. >If I'm wrong about the original S=`` line, then never mind.
  18.  
  19. Kinda wrong, sorry.  SFILE points to the output of sendbatches: a file that
  20. contains the file names of the news articles to be inspected for possible
  21. forwarding.
  22.  
  23. Assigning SFILE --> S allows gatenews to execute for F in $S, thus inspecting
  24. each file given in SFILE.  
  25.  
  26. Is there a better way???
  27.  
  28.  
  29. -- 
  30. Clay Luther, Postmaster          cluther@supernet.haus.com 
  31.   Harris Adacom Corporation      cluther@enigma.haus.com
  32.   Voice:  214/386-2356           MS 23, PO Box 809022, Dallas, Tx 75380-9022
  33.   Fax:    214/386-2159           Your mileage may vary.  Void where prohibited.
  34.