home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / elm / 3983 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.8 KB  |  39 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!newsserver.jvnc.net!darwin.sura.net!ra!wintermute.phys.psu.edu!atlantis.psu.edu!barr
  3. From: barr@pop.psu.edu (David Barr)
  4. Subject: Re: ">From " lines and "corrupt folder" msg
  5. Message-ID: <vyc1Hynmyb@atlantis.psu.edu>
  6. Sender: news@atlantis.psu.edu (Usenet)
  7. Organization: Penn State Population Research Institute
  8. References: <9212291937.AA22268@clark.dgim.doc.ca> <9301072058.AA14276@SERVER.uwindsor.ca>
  9. Date: Thu, 07 Jan 93 21:55:45 GMT
  10. Lines: 27
  11.  
  12. In article <9301072058.AA14276@SERVER.uwindsor.ca> ophof@SERVER.uwindsor.ca (Scott Ophof) writes:
  13. >Sorry, I posted the wrong reply.  Here's the correct one.
  14. >
  15. >On Tue, 29 Dec 92 14:37:09 EST tom@crc.doc.ca (Thomas Erskine) said:
  16. >>In article <9212260325.AA18454@SERVER.uwindsor.ca> you write:
  17. >>>If not, what is the *EXACT* command to give to "vi" in order to
  18. >>>remove those ">"s?  Of course *ONLY* on those header lines; I'll
  19. >>>accept any such occurances in the contents of the items (though
  20. >>>not really gracefully...).
  21. >>:1,$s/^>From /From /
  22. >>Should fix any such lines in the file.  Unfortunately, if there were any
  23. >>that were inside a message in that folder, those will also be un-marked.
  24. >>I can't think of any automated way to avoid this.
  25. >
  26. >A private reply gave me the following alternative:
  27. >    :%s/^>\(From .*\)/\1/c
  28. >which askes for confirmation at each occurrance.
  29.  
  30. The "mbox format" requires that ALL lines beginning with "From "
  31. be changed to ">From ".  This includes BOTH the body and the header.
  32. The beginning of a new piece of mail is found by looking for "From "
  33. in the beginning of the line.
  34.  
  35. --Dave
  36. -- 
  37. System Administrator, Population Research Institute    barr@pop.psu.edu
  38. What does it profit a man if he gains the whole world, but still runs DOS?
  39.