fnlc(1)

NAME
fnlc - the FEddi Nodelist-Compiler

SYNOPSIS
fnlc [--config FILE] [--force] [--quiet] [NODE|NAME]+

DESCRIPTION
fnlc uses NODELISTPATH/fnlcrc to compile a grep-able Nodelist. If supplied with a semi-final nodenumbers or the part of names all matching entries are printed out as with futility. If no name or number is given, fnlc tries to compile all lists.

Status information goes to the LogFile and to STDERR.

fnlc returns 0 if no error occured, 1-99 idicates error. An errorlevel of 100 or more indicates that the nodelist was rebuilded (and that there was no error).

COMMANDS

dial SEARCH X-CHANGE
    Exchanges SEARCH with X-CHANGE (phone-number). * matches all (SEARCH) or deletes (X-CHANGE)

valid [ADDR]+
    Only lines with a address matching the ADDR pattern will be included. The pattern must be a valid address with wildcards (i.e. 2:* 2:2454/130.*). If this line is missing all lines are valid.

invalid [ADDR]+
    Lines with a address matching the ADDR pattern will be excluded. This has precedence before the valid addresses.

dofirst CMD
    Before processing the nodelists, CMD is executed on a new shell.

dolast CMD
    After all work is done, CMD is executed in a new shell.

pointlist POINTNAME[@BOSSADDR] [ACTION [DIFFNAME] ]
    POINTNAME is the pointlist-name without day-extension but WITH normal extensions (i.e. '.pvt'). BOSSADDR is the 4D-address of the boss-node. This can be used to set base-zones for reginal pointlists. ACTION could be diff (== diff nodelist) or new (== overwrite old). This defaults to new. DIFFNAME is the name of the diff-file or the new-file (defaults to POINTNAME). ACTION

pointlists PATTERN FINDNUM POINTSTRING
    This globs for PATTERN in the inbound- and the nodelistpath. After this each found filename is searched using FINDNUM (with sscanf) for the pointnumber. With the use of this num seperate pointlist lines (see above) are generated (two %u are required in this string -- looks like 'pointlist FILENAMEWITH%u@ADDRESS/%u). For further ideas see the example.

nodelist LISTNAME [ACTION [DIFFNAME] ]
    LISTNAME is the nodelist-name without day-extension. ACTION could be diff (== diff nodelist) or new (== overwrite old). This defaults to new. DIFFNAME is the name of the diff-file or the new-file (defaults to LISTNAME).

LINE FORMAT
A line of fnlc.Userlist consits of:

TYPE NOSPACE 4D-Address COLON NODE-NAME COLON LOCATION COLON SYSOP COLON PHONE COLON BAUD [COLON FLAGS]...

FILES

~/.feddirc
    for PATHS

NODELISTPATH/fnlcrc
    The config-file for fnlc (see config/fnlcrc for hints).

NODELISTPATH/fnlc.Lists
    Which lists are in the actual fnlc.Userlist.

NODELISTPATH/fnlc.Userlist
    the grep-able nodelist

NODELISTPATH/fnlc.Nodeindex
    hashtable for direct 4D-node-access

NODELISTPATH/fnlc.Nameindex
    btree for direct name-node-access

SEE ALSO
fscan(1), ftoss(1), fmbedit(1), futility(1), feddirc(1)

AUTHOR
Oliver Graf.