Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!bloom-beacon!DAINICHI.TN.CORNELL.EDU!swb From: swb@DAINICHI.TN.CORNELL.EDU (Scott Brim) Newsgroups: comp.mail.mush Subject: Re: RMAIL to MUSH conversion Message-ID: <8908171843.AA05121@chumley.TN.Cornell.EDU> Date: 17 Aug 89 18:46:08 GMT References: <1592@sunset.MATH.UCLA.EDU> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 21 Here's a sed script I ran my RMAIL files through to convert them back to reg'lar old Berkeley format. I didn't attempt to convert the dates, and your mail may display funny dates, depending on what's in the headers in the actual mail files themselves. I just lived with it. # # at the top, get rid of the first BABYL header totally # /^BABYL/,/^\*\*\* EOOH \*\*\*$/c\ >From nobody@nowhere.tn.cornell.edu Fri Jan 1 12:00:00 1988 # # for every other header, replace with two blank lines and a From line # /^/,/^\*\*\* EOOH \*\*\*$/c\ \ \ >From nobody@nowhere.tn.cornell.edu Fri Jan 1 12:00:00 1988 # # Finally, get rid of trailing (that's control-underscore) # /^$/d