Article View: news.software.readers
Article #201621Re: Correct syntax slrn NNTPSERVER?
From: Adam Funk
Date: Mon, 09 Jul 2007 10:31
Date: Mon, 09 Jul 2007 10:31
28 lines
1682 bytes
1682 bytes
On 2007-07-09, andrew wrote: > I ignored some excellent advice on this group a month ago that > concerned setting the NNTPSERVER variable for slrn. I have come back > with my tail between my legs and a question: > > I added the following to my ~/.bashrc file: [1] > NNTPSERVER='my news server' && export NNTPSERVER > > and slrn was perfectly happy with this. But I have substituted the > following line which also works with no problem, as reccommended by > this NG: [2] > export NNTPSERVER=my news server > > Which is the most correct syntax? The first example is in the > documentation for slrn but both work. I am a little puzzled :-) In bash, they both work and have the same result. I suspect that in some other sh-like shells, [1] works but [2] doesn't. Perhaps someone in comp.unix.shell can confirm or correct this?
Technical Details
Message-ID:
<rcf9m4-g54.ln1@news.ducksburg.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.shell.mbox.zip!g2news1.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrnf93n56.fn3.nospam@ilium.invalid>Show Full Headers
Complete Article Headers
Message-ID: <rcf9m4-g54.ln1@news.ducksburg.com> Subject: Re: Correct syntax slrn NNTPSERVER? Date: Mon, 9 Jul 2007 11:31:23 +0100 From: Adam Funk <a24061@ducksburg.com> References: <slrnf93n56.fn3.nospam@ilium.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.shell.mbox.zip!g2news1.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers,comp.unix.shell Lines: 27 X-Trace: individual.net VBegswLBYqtswdpjWSwdgQxjrgY7IGkO4k2eWxPaFu4Wm4PliM X-Orig-Path: news.ducksburg.com!news Cancel-Lock: sha1:+XYUyJnzzHD4nM1yr/Hdsf/KD4s= User-Agent: slrn/0.9.8.1pl1 (Debian)