🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1698

Setting variables on the command line

#1698
From: Danno McKinnon
Date: Thu, 23 May 1991 08:12
29 lines
1879 bytes
I'm trying to set variables on the command line as outlined in
the manual. My main concern is the setting of the newsrc
variable, because our plan is to only read certain articles
(based on a search of a keyword database, details of which will
be posted here after we present to our programming class...)

The command line, as I thought it was supposed to be, looks
like:

	nn -B -d -m -N keep-unsubscribed=off tidy-newsrc=on \
             newsrc=n

where `n' might be a file containing only:

	rec.arts.movies: 1-500, 525-999999

Our intention in this example would be to read articles 501-524.
When I use the shown command, `set all' shows that the variables
=are= set properly, but it doesn't seem to actually use `n' as
the newsrc---I get all of the groups that my regular .newsrc has
in it!

Am I missing some variables that I need to set to get the
behavior I want? It's very frustrating to see what I want
=almost= happen...
-- 
      A      || Daniel McKinnon                        || "Sugar and caffeine
 Walt Disney || ==================-------------------- ||  make me very happy."
    DANNO    ||                      dfm@dartmouth.edu ||    -- David Lynch
Technical Details
Message-ID: <1991May23.081247.22780@dartvax.dartmouth.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!wuarchive!psuvax1!hsdndev!dartvax!eleazar.dartmouth.edu!danno

Show Full Headers
Complete Article Headers
Message-ID: <1991May23.081247.22780@dartvax.dartmouth.edu>
Subject: Setting variables on the command line
Date: Thu, 23 May 1991 08:12:47 +0000
From: danno@eleazar.dartmouth.edu (Danno McKinnon)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!wuarchive!psuvax1!hsdndev!dartvax!eleazar.dartmouth.edu!danno
Newsgroups: news.software.nn
Sender: news@dartvax.dartmouth.edu (The News Manager)
Reply-To: dfm@dartmouth.edu
Organization: Dartmouth College, Hanover, NH
Lines: 29