Article View: news.software.nntp
Article #54561Re: piping via newsfeeds problem
From: Andrew Gierth
Date: Sun, 07 Oct 2001 02:00
Date: Sun, 07 Oct 2001 02:00
26 lines
1951 bytes
1951 bytes
>>>>> "Jeffrey" == Jeffrey M Vinocur <jeff@litech.org> writes: >> test!:!*,unidata.hds\ >> :Tc,Wn:\ >> /opt/news/util/dataProdHandlers/retrieveArtAsProd > >> /opt/news/test/sent.out Jeffrey> You realize that every time you process an article it will Jeffrey> overwrite the previous result? Actually, it won't; the sent.out file will be clobbered every time the channel command is respawned (which happens if it exits, or the channel is flushed or restarted, or if the newsfeeds file or active file is reloaded, etc.) My inclination, though, would be to have the channel program do all the file manipulations (even if it's just a trivial script wrapper round the real program). 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). -- Andrew.
Technical Details
Message-ID:
<87n134ryyq.fsf@erlenstar.demon.co.uk>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!lios!news.gweep.ca!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonsterReferences:
<3BBDD092.D1CF35F8@unidata.ucar.edu> <9po0vm$mcc$1@marduk.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <87n134ryyq.fsf@erlenstar.demon.co.uk> Subject: Re: piping via newsfeeds problem Date: Sun, 07 Oct 2001 02:00:29 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <3BBDD092.D1CF35F8@unidata.ucar.edu> <9po0vm$mcc$1@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!lios!news.gweep.ca!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster Newsgroups: news.software.nntp Organization: disorganised Lines: 25 NNTP-Posting-Host: erlenstar.demon.co.uk (09b7:001d) X-Mayan-Date: Long count = 12.19.8.11.5; tzolkin = 4 Chicchan; haab = 3 Yax X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-Attribution: AG X-P-Persistent-Headers: are a bad idea. X-Newsreader: Gnus v5.5/Emacs 20.2 X-Complaints-To: andrew@erlenstar.demon.co.uk X-Post-Filter: postfilter v0.6 alpha