Article View: news.software.nntp
Article #82775Re: news.daily and missing innfeed.conf
From: Russ Allbery
Date: Wed, 10 Feb 2010 21:51
Date: Wed, 10 Feb 2010 21:51
33 lines
2733 bytes
2733 bytes
Russ Allbery <rra@stanford.edu> writes:
> Michael Grimm <trashcan@odo.in-berlin.de> writes:
>> Yes. I downloaded the one you posted yesterday, and I double
>> checked it again. Now, I modified your code as follows:
>> ,----
>> | echo "INNFEEDCONF= "$INNFEEDCONF
>> | if [ -f ${INNFEEDCONF} ]; then
> Missing quotes here. This should be:
> if [ -f "${INNFEEDCONF}" ]; then
> Otherwise, you end up running:
> [ -f ]
> which because it's not valid syntax for the -f file test some versions of
> test in some shells will interpret as equivalent to:
> [ -n "-f" ]
> and return true. This is one of those weird corners of Bourne shell
> syntax.
Although since $INNFEEDCONF is actually set, that's probably not the
problem. Hm. But still, just in case there should probably be quotes.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87ljf04v55.fsf@windlord.stanford.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.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.netcologne.de!ramfeed1.netcologne.de!newsfeed.freenet.ag!newsfeed.freenet.de!multikabel.net!newsfeed20.multikabel.net!news.glorb.com!news2.glorb.com!usenet.stanford.edu!news.stanford.edu!not-for-mailReferences:
<hkibmo$1ql2$3@de-l.enfer-du-nord.net> <hkjkms$56g$1@news.trigofacile.com> <hkjo4s$4ri$1@de-l.enfer-du-nord.net> <hkjtok$gd6$1@news.trigofacile.com> <hkka52$2f2o$1@de-l.enfer-du-nord.net> <hkmtlc$b1v$1@news.trigofacile.com> <hkn9ln$1r2h$1@de-l.enfer-du-nord.net> <hksf98$p99$1@news.trigofacile.com> <hkv2la$1icg$1@de-l.enfer-du-nord.net> <hkv56b$c82$1@news.trigofacile.com> <hkv610$1vmo$2@de-l.enfer-du-nord.net> <hkv7g7$eid$1@news.trigofacile.com> <hkv9g5$1vmo$5@de-l.enfer-du-nord.net> <87pr4c4v6m.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <87ljf04v55.fsf@windlord.stanford.edu> Subject: Re: news.daily and missing innfeed.conf Date: Wed, 10 Feb 2010 13:51:18 -0800 From: Russ Allbery <rra@stanford.edu> References: <hkibmo$1ql2$3@de-l.enfer-du-nord.net> <hkjkms$56g$1@news.trigofacile.com> <hkjo4s$4ri$1@de-l.enfer-du-nord.net> <hkjtok$gd6$1@news.trigofacile.com> <hkka52$2f2o$1@de-l.enfer-du-nord.net> <hkmtlc$b1v$1@news.trigofacile.com> <hkn9ln$1r2h$1@de-l.enfer-du-nord.net> <hksf98$p99$1@news.trigofacile.com> <hkv2la$1icg$1@de-l.enfer-du-nord.net> <hkv56b$c82$1@news.trigofacile.com> <hkv610$1vmo$2@de-l.enfer-du-nord.net> <hkv7g7$eid$1@news.trigofacile.com> <hkv9g5$1vmo$5@de-l.enfer-du-nord.net> <87pr4c4v6m.fsf@windlord.stanford.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.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.netcologne.de!ramfeed1.netcologne.de!newsfeed.freenet.ag!newsfeed.freenet.de!multikabel.net!newsfeed20.multikabel.net!news.glorb.com!news2.glorb.com!usenet.stanford.edu!news.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 33 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.stanford.edu 1265838678 32582 171.67.225.134 (10 Feb 2010 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:xTqNzjHJxEs07uHDejupv9e1Q/8= X-Original-Bytes: 2510