Article View: news.software.readers
Article #139011[slrn] 0.9.8.0 quick variables overview
From: Sven Guckes
Date: Wed, 10 Dec 2003 03:47
Date: Wed, 10 Dec 2003 03:47
64 lines
3014 bytes
3014 bytes
i always found the manual.txt too big for
quick searches when answering questions
about slrn's variables and defaults.
so i have summarized the variables from the
slrn-0.9.8.0/doc/manual.txt into a short list
where each lines contains these items:
number - index number (as given by the manual)
type - type of the following variable
name - the variable name
default - the default value
this makes it suitable for easy "grepping"
here are some examples:
# variables names containing the word "string":
$ grep -c string slrn-0.9.8.0_variables.txt
7
# string variables with non-empty default values:
$ grep -c '\".*\"' slrn-0.9.8.0_variables.txt
13
# number of char/str/int variables:
$ grep -c '\<char\>' slrn-0.9.8.0_variables.txt
1
$ grep -c '\<str\>' slrn-0.9.8.0_variables.txt
61
$ grep -c '\<int\>' slrn-0.9.8.0_variables.txt
83
# number of all variables (line start with '6'):
$ grep -c '^6' slrn-0.9.8.0_variables.txt
145
# number of variables with numerical values:
$ grep -c '[0-9]$' slrn-0.9.8.0_variables.txt
73
# number of variables without a default value ("unset"):
$ grep -c '(unset)' slrn-0.9.8.0_variables.txt
47
just remove the option "-c" and grep will not count
the resulting lines but show the results, of course.
(i snipped the results of the two first examples as
the resulting lines are wider than 80 characters.)
the address of the 7KB file is:
http://www.guckes.net/slrn/txt/slrn-0.9.8.0_variables.txt
enjoy!
actually, i would not mind if the "make" command would also
create this list from the manual.txt so this list will be
available with the next release automatically. any takers?
Sven
--
Sven Guckes usenet-sig-slrn @guckes.net SLRN latest versions:
SLRN Home Page: http://www.slrn.org/ SLRN-0.9.7.4 [2002-03-13]
SLRN Home Page: http://slrn.sourceforge.net/ SLRN-0.9.8.0 [2003-08-25]
SLRN FAQ: http://slrn.sourceforge.net/docs/slrn-FAQ.html [2002-03-13]
Technical Details
Message-ID:
<slrnbtd5qs.roa.usenet@pima.hostsharing.net>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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!pima.hostsharing.NET!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrnbtd5qs.roa.usenet@pima.hostsharing.net> Subject: [slrn] 0.9.8.0 quick variables overview Date: Wed, 10 Dec 2003 03:47:40 +0000 From: Sven Guckes <usenet@guckes.net> 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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!pima.hostsharing.NET!not-for-mail Newsgroups: news.software.readers Lines: 64 Reply-To: Sven Guckes <usenet-reply@guckes.net> NNTP-Posting-Host: pima.hostsharing.net (212.42.230.40) X-Trace: news.uni-berlin.de 1071028060 74590192 212.42.230.40 ([44059]) User-Agent: slrn/0.9.8.0 (Linux)