home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
bbsfiles
/
gsbbs302.arj
/
GRID.DOC
< prev
next >
Wrap
Text File
|
1991-01-21
|
2KB
|
49 lines
GRID is a sysop utility I wrote to aid in everyday user file lookups. The
syntax is
GRID [/n] [search-string]
Both parameters are optional, but order counts. GRID searches through the user
file until it finds an entry containing "search-string" in the alias, real
name, phone number, or password. If the search string is not specified, all
active users are listed. All such entries that it finds are printed according
to the specified format. If /n is specified, each matching entry prints exactly
one line of the format
ALIAS NAME (REAL NAME). 111-111-1111 000PASSWORD
This format is especially useful for sorting on something such as area code,
which will always be in the same column, so something like
GRID /N | SORT /+51
will give you a quick list of all your users, by area code and phone number.
If /n was not specified, Table Mode is used instead. The table header will
print regardless of whether any entries match the search string, and each match
will again print one line, this time of the form
Alias │ Real Name │ Phone │ PW
═════════════════════╪════════════════════════╪══════════════╪════════════════
ALIAS NAME │ REAL NAME │ 111-111-1111 │ 000PASSWORD
A command of the form "GRID J" will list all users with a J in their names or
password. "GRID 716" is an easy way to list all users in area code 716. It
will, of course, also list any users with "716" in their passwords, but this
generally doesn't lessen the usefulness of GRID.
GRID, by the way, comes from combining "GREP" (a generic string searcher) and
the word "IDFILE". So what was "GREP IDs" is now shortened to "GRID".
GRID made itself indispensable to me in the first five minutes after I wrote
it. I hope you find it as useful.
Comments, criticisms and suggestions are always welcome.
KNOWN SHORTCOMING: The file IDS.BBS must be in your current directory.
Michelangelo Jones
Sysop: Garden South GSBBS
(203) 264-2152 2400bps