Thread View: news.software.readers
1 messages
1 total messages
Started by Sven Guckes
Wed, 10 Dec 2003 03:47
[slrn] 0.9.8.0 quick variables overview
Author: 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]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads