Thread View: news.software.nntp
1 messages
1 total messages
Started by Lawrence Lim
Thu, 02 Sep 2004 09:11
empty article
Author: Lawrence Lim
Date: Thu, 02 Sep 2004 09:11
Date: Thu, 02 Sep 2004 09:11
36 lines
1768 bytes
1768 bytes
I am putting a script in newsfeeds entry name output, and my output is a
perl script just to write anything that is pass to him, however I notice
that innd passes empty article to this script. I am using innd 2.4.1, my
previous innd-1.7.2 has no problem passing a complete artilce to the
script.
Below is my newsfeeds and perl file named output:
newsfeeds:
---------
ME\
:!*::
pcbase@jaring.my/news2.jaring.my\
:*,!control\
:Tm:output!
output:
------
#!/usr/bin/perl -d
$Log = '/var/log/news/article.log';
$now = `date +%H:%M:%S` ;
chop($now);
open (LOG, ">>$Log") ;
while (<>) {
print LOG "$now\n";
print LOG "$_";
}
close LOG
--lawrence
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads