๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #32239

Re: MBOXSAVER for trn <=> pine ?

#32239
From: Orjan Johansen
Date: Thu, 20 Mar 1997 00:00
28 lines
1489 bytes
In article <5goie4$1di@fotd.netcomi.com>,
James L. McGill <fishbowl@fotd.netcomi.com> wrote:
>Whenever I save in "mailbox format" from trn,
>I do not have any headers when I read the message in pine.
>I don't care about full headers, but I need some.  
>Can one of you kind souls give me a mbox.saver that 
>will work from trn to pine? 

Pine cannot tackle time zone designations that contain any spaces in 
the "From " line, or so it seems.

In the mbox.saver here there is a line

echo "$8"

which just prints the From line. The following instead strips out the 
time zone if it contains a space (I have tested and debugged this sed 
command on a single folder previously generated by trn, so it is 
guaranteed to work in all cases. By the way, do you want to buy a 
bridge?)

echo "$8" | sed -e 's/^\(From [^ ]* [^:]*:[^ ]*\) [^ ]* .* /\1 /'

Greetings,
๏ฟฝrjan.

Technical Details
Message-ID: <5gs6e1$3ku@due.unit.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <5goie4$1di@fotd.netcomi.com>

Show Full Headers
Complete Article Headers
Message-ID: <5gs6e1$3ku@due.unit.no>
Subject: Re: MBOXSAVER for trn <=> pine ?
Date: Thu, 20 Mar 1997 00:00:00 +0000
From: orjanjo@lie.matstat.unit.no (Orjan Johansen)
References: <5goie4$1di@fotd.netcomi.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 227083968
Organization: Norwegian University of Science and Technology, Trondheim, Norway
Newsgroups: news.software.readers