🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #221885

Re: [dialog] Exporting from Sent folder

#221885
From: Ron Ford
Date: Mon, 09 Jun 2008 03:27
36 lines
2348 bytes
On Sat, 7 Jun 2008 13:56:20 -0400, Oliver Cromm wrote:

> * Bernd Rose wrote:
> 
>> On Sat, 7 Jun 2008 01:56:07 -0400, Oliver Cromm wrote:
>> 
>>> Messages from "Sent" can be extracted as separate files (*.msg, default)
>>> or as mbox (*.mbx):
>>>   
>>>   ruby extr_sent.rb
>>>   ruby extr_sent.rb -m
>> 
>> Hm. You may consider extracting the messages based on a msg2.drt 
>> lookup. (Group 2 is the Sent folder on all Dialog installations.)
>> 
>> Ignore the first 4 Bytes of the file. Afterwards you see records of
>> 15 Bytes each. The first 4 are record numbers. [...]
> 
> Wow, how do you know this things? And if you know them, why don't *you*
> post an extraction script?
> 
> Anyway, your description of the drt file seems to fit more or less, but
> I'll ask you about some details.

I ran the script but don't see any evidence of output or error.  There is
no new file in the directory in which the script ran.  I was expecting to
get an error due to the first of the require statements:
require 'iconv'
require 'msgfile'

Does the script need to be run in the data folder?
-- 
It is now quite lawful for a Catholic woman to avoid pregnancy by a resort
to mathematics, though she is still forbidden to resort to physics or
chemistry.
H. L. Mencken
Technical Details
Message-ID: <mtttz2aivbvy.y1d15q18rhh$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <azanzl663stj.dlg@mid.crommatograph.info> <f303u6enh3nd.dlg@b.rose.tmpbox.news.arcor.de> <m194g6bq78bp.dlg@mid.crommatograph.info>

Show Full Headers
Complete Article Headers
Message-ID: <mtttz2aivbvy.y1d15q18rhh$.dlg@40tude.net>
Subject: Re: [dialog] Exporting from Sent folder
Date: Sun, 8 Jun 2008 22:27:40 -0500
From: Ron Ford <ron@nowhere.net>
References: <azanzl663stj.dlg@mid.crommatograph.info> <f303u6enh3nd.dlg@b.rose.tmpbox.news.arcor.de> <m194g6bq78bp.dlg@mid.crommatograph.info>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 36
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 3BzskypLVrmwWo1P9/R4jwo3yq0gPeBEALcqanLA4iXR8W/9vb
Cancel-Lock: sha1:qWSikJ+zuI4w1DWonGw3Vsx0w/A=
User-Agent: 40tude_Dialog/2.0.15.1