home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / elm / 4009 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  2.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!not-for-mail
  2. From: ophof@SERVER.uwindsor.ca (Scott Ophof)
  3. Newsgroups: comp.mail.elm
  4. Subject: Re: ">From " lines and "corrupt folder" msg
  5. Date: 8 Jan 1993 22:54:15 -0600
  6. Organization: UTexas Mail-to-News Gateway
  7. Lines: 42
  8. Sender: daemon@cs.utexas.edu
  9. Message-ID: <9301090452.AA17680@SERVER.uwindsor.ca>
  10. References: <vyc1Hynmyb@atlantis.psu.edu>
  11. NNTP-Posting-Host: cs.utexas.edu
  12.  
  13.  
  14. On 7 Jan 1993 21:55:45 GMT barr@pop.psu.edu (David Barr) said:
  15. >In article <9301072058.AA14276@SERVER.uwindsor.ca> ophof@SERVER.uwindsor.ca (Scott Ophof) writes:
  16. >>On Tue, 29 Dec 92 14:37:09 EST tom@crc.doc.ca (Thomas Erskine) said:
  17. >>>In article <9212260325.AA18454@SERVER.uwindsor.ca> you write:
  18. >>>>If not, what is the *EXACT* command to give to "vi" in order to
  19. >>>>...
  20. >>>:1,$s/^>From /From /
  21. >>>...
  22. >>A private reply gave me the following alternative:
  23. >>    :%s/^>\(From .*\)/\1/c
  24. >>which askes for confirmation at each occurrance.
  25.  
  26. >The "mbox format" requires that ALL lines beginning with "From "
  27. >be changed to ">From ".  This includes BOTH the body and the header.
  28.  
  29. Ahh...  So IMHO whoever defined the "mbox format" should also (have)
  30. come up with a "delousing" utility.  Fair's fair, right?  :-)
  31. Any suggestions/hints as to who I should approach for a cleanup
  32. utility that also takes care of the body of the item?
  33.  
  34.  
  35. >The beginning of a new piece of mail is found by looking for "From "
  36. >in the beginning of the line.
  37.  
  38. Yes, this was clear.
  39. Let's assume the BODY of an item contains a line answering exactly
  40. to the syntax of the "From " line, with a blank line preceding it,
  41. plus some other header lines (the author is giving an example of
  42. some header lines), and a trailing blank line.
  43. The receiving software will prefix that "From " line with a ">".
  44. Assume the user grumbles and edits the item, removing that ">"
  45. because he knows it doesn't belong there.
  46. When he then references the folder containing that item, there will
  47. now be one more item than before, right?
  48. Or does "elm" understand that this is still the body of that item?
  49. I hope the latter...
  50.  
  51. Regards.
  52. $$/
  53.  
  54.  
  55.