🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #54584

Re: piping via newsfeeds problem

#54584
From: Jeffrey M. Vinocur
Date: Mon, 08 Oct 2001 21:26
41 lines
2397 bytes
In article <3BC20B5E.5571C5AC@unidata.ucar.edu>,
Anne Wilson  <anne@unidata.ucar.edu> wrote:
>Andrew Gierth wrote:
>> 
>> My guess is that the problem is actually caused by failure to flush
>> the output _within_ the channel program (using ctlinnd won't help with
>> that).
>
>mmm, that could be.  But, why would it work properly from the command
>line?  What's different?

If you run it on the commandline as 

  cat | ./retrieveArtAsProd > /opt/news/test/sent.out

And then manually paste the storage token into stdin, do you get
the truncated file?  And then if you give it ^D do you get the
rest?


>parenthesized expression in the file name (the product ID is something
>like L2-<something>/KWBC/yyyymmddhhmmss):
>
>^L2-([^/]*)/(....)/([0-9][0-9][0-9][0-9][0-1][0-9][0-3][0-9][0-2][0-9][0-5][0-9][0-9][0-9]) 
>FILE    data/nexradII/compressed/\2/\3.raw
>
>It would be nice if I could do something similar via newsfeeds, but

*laugh*  I think that might be a bit much.  The decoder has all
of the same information that INN does (in fact, more), anyway.

Actually...if you want to use a channel feed you need the decoder
(or a wrapper thereon) to open the appropriate file anyway,
because otherwise it will all go to the same file.



-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <9pt5m9$ms7$7@marduk.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
References: <3BBDD092.D1CF35F8@unidata.ucar.edu> <9po0vm$mcc$1@marduk.litech.org> <87n134ryyq.fsf@erlenstar.demon.co.uk> <3BC20B5E.5571C5AC@unidata.ucar.edu>

Show Full Headers
Complete Article Headers
Message-ID: <9pt5m9$ms7$7@marduk.litech.org>
Subject: Re: piping via newsfeeds problem
Date: Mon, 08 Oct 2001 21:26:33 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <3BBDD092.D1CF35F8@unidata.ucar.edu> <9po0vm$mcc$1@marduk.litech.org> <87n134ryyq.fsf@erlenstar.demon.co.uk> <3BC20B5E.5571C5AC@unidata.ucar.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Lithium Technologies
Lines: 40
Sender: jeff@litech.org
NNTP-Posting-Host: marduk.litech.org
X-Trace: marduk.litech.org 1002576393 23431 128.84.154.54 (8 Oct 2001 21:26:33 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 8 Oct 2001 21:26:33 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)