🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #201620

Re: Correct syntax slrn NNTPSERVER?

#201620
From: Peter J Ross
Date: Mon, 09 Jul 2007 10:01
28 lines
1994 bytes
In news.software.readers on Mon, 9 Jul 2007 06:58:45 +0000 (UTC),
andrew <nospam@andrew.invalid> wrote:

> Hi,
>
>  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:
>
> 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:
>
> 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 :-)

They're both correct Bash syntax. "export" with "=" sets the variable
to a new value; without "=" it exports its current value. See "export"
in man bash.

-- 
PJR :-)
Technical Details
Message-ID: <slrnf941si.6cd.pjr@pjr.gotdns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
References: <slrnf93n56.fn3.nospam@ilium.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <slrnf941si.6cd.pjr@pjr.gotdns.org>
Subject: Re: Correct syntax slrn NNTPSERVER?
Date: Mon, 09 Jul 2007 10:01:54 +0000
From: Peter J Ross <pjr@example.invalid>
References: <slrnf93n56.fn3.nospam@ilium.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: none
Reply-To: pjr.spam@gmail.com
User-Agent: slrn/0.9.8.1pl2 (Debian)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 28
NNTP-Posting-Date: 09 Jul 2007 05:01:54 CDT
X-Trace: DXC=L4TdRl5D9H]0`2F^D\@i[T]AGWjF5PjPY465Ue@WB_5_<[@icIXe2SP26Z<EbT:a\UlV3mi\haFgXnKNSiQ2:B?^iFn@A\X3j`Q
X-Original-Bytes: 1675