🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #201727

Re: Correct syntax slrn NNTPSERVER?

#201727
From: cms
Date: Wed, 11 Jul 2007 11:40
35 lines
2409 bytes
On Jul 9, 3:31 pm, Adam Funk <a24...@ducksburg.com> wrote:
> 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?

export $NNTPSERVER
or
export NNTPSERVER="my news server"

Technical Details
Message-ID: <1184154052.248059.200620@k79g2000hse.googlegroups.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!news1.google.com!postnews.google.com!k79g2000hse.googlegroups.com!not-for-mail
References: <slrnf93n56.fn3.nospam@ilium.invalid> <rcf9m4-g54.ln1@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <1184154052.248059.200620@k79g2000hse.googlegroups.com>
Subject: Re: Correct syntax slrn NNTPSERVER?
Date: Wed, 11 Jul 2007 04:40:52 -0700
From: cms <cms.chauhan@gmail.com>
References: <slrnf93n56.fn3.nospam@ilium.invalid> <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!news1.google.com!postnews.google.com!k79g2000hse.googlegroups.com!not-for-mail
Newsgroups: news.software.readers,comp.unix.shell
Organization: http://groups.google.com
Lines: 34
NNTP-Posting-Host: 202.3.112.9
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Trace: posting.google.com 1184154052 13827 127.0.0.1 (11 Jul 2007 11:40:52 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 11 Jul 2007 11:40:52 +0000 (UTC)
In-Reply-To: <rcf9m4-g54.ln1@news.ducksburg.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 nc-btc01 (NetCache NetApp/6.0.3)
Complaints-To: groups-abuse@google.com
Injection-Info: k79g2000hse.googlegroups.com; posting-host=202.3.112.9;
 posting-account=dg507g0AAACOJCyfJPbgbsnj7LC7S5Cy