Article View: news.software.nntp
Article #19195Re: [Q] a channel goes berserk
From: Andrew Gierth
Date: Fri, 11 Jul 1997 00:00
Date: Fri, 11 Jul 1997 00:00
25 lines
1167 bytes
1167 bytes
>>>>> "Maurizio" == Maurizio Codogno <mau@beatles.cselt.it> writes:
Maurizio> where newsbot.sh is a bash script which basically loops forever:
Well, there's your problem; the script needs to die when it runs
out of input.
Maurizio> while [ x = x ] ; do
Maurizio> read SIZE FILE MSGID GRUPPI && {
Maurizio> [...]
Maurizio> }
Maurizio> done
Try
while read SIZE FILE MSGID GRUPPI
do
...
done
--
Andrew.
Technical Details
Message-ID:
<87n2nt97md.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!not-for-mailReferences:
<5q4vup$ag$1@beatles.cselt.it>Show Full Headers
Complete Article Headers
Message-ID: <87n2nt97md.fsf@erlenstar.demon.co.uk> Subject: Re: [Q] a channel goes berserk Date: Fri, 11 Jul 1997 00:00:00 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <5q4vup$ag$1@beatles.cselt.it> 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!not-for-mail X-Deja-AN: 256160562 Distribution: inet X-NNTP-Posting-Host: erlenstar.demon.co.uk [194.222.144.22] X-Mayan-Date: Long count = 12.19.4.5.16; tzolkin = 2 Cib; haab = 14 Tzec Organization: disorganised X-Attribution: AG Newsgroups: news.software.nntp