home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- 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
- From: barr@pop.psu.edu (David Barr)
- Subject: Re: ">From " lines and "corrupt folder" msg
- Message-ID: <vyc1Hynmyb@atlantis.psu.edu>
- Sender: news@atlantis.psu.edu (Usenet)
- Organization: Penn State Population Research Institute
- References: <9212291937.AA22268@clark.dgim.doc.ca> <9301072058.AA14276@SERVER.uwindsor.ca>
- Date: Thu, 07 Jan 93 21:55:45 GMT
- Lines: 27
-
- In article <9301072058.AA14276@SERVER.uwindsor.ca> ophof@SERVER.uwindsor.ca (Scott Ophof) writes:
- >Sorry, I posted the wrong reply. Here's the correct one.
- >
- >On Tue, 29 Dec 92 14:37:09 EST tom@crc.doc.ca (Thomas Erskine) said:
- >>In article <9212260325.AA18454@SERVER.uwindsor.ca> you write:
- >>>If not, what is the *EXACT* command to give to "vi" in order to
- >>>remove those ">"s? Of course *ONLY* on those header lines; I'll
- >>>accept any such occurances in the contents of the items (though
- >>>not really gracefully...).
- >>:1,$s/^>From /From /
- >>Should fix any such lines in the file. Unfortunately, if there were any
- >>that were inside a message in that folder, those will also be un-marked.
- >>I can't think of any automated way to avoid this.
- >
- >A private reply gave me the following alternative:
- > :%s/^>\(From .*\)/\1/c
- >which askes for confirmation at each occurrance.
-
- The "mbox format" requires that ALL lines beginning with "From "
- be changed to ">From ". This includes BOTH the body and the header.
- The beginning of a new piece of mail is found by looking for "From "
- in the beginning of the line.
-
- --Dave
- --
- System Administrator, Population Research Institute barr@pop.psu.edu
- What does it profit a man if he gains the whole world, but still runs DOS?
-