cidupdate man page

cidupdate — update aliases in the NCID call file

Synopsis

 cidupdate [--help|-h] [--man|-m] [--debug|-D]
           [--verbose|-v <1-9>] [--version|-V]
           
 cidupdate [--aliasfile | -a <file>]
           [--cidlog    | -c <file>]
           [--ignore1   | -i]
           [--regex     | -R]
           [--multi]

Description

The cidupdate script updates the current call log file (cidcall.log) using the entries found in the alias file (ncidd.alias).

If the “--multi” option is present, the current cidcall.log file and previous call files are updated.

Options

-h, --help

Displays the help message and exits.

-m, --man

Displays the manual page and exits.

-D, --debug

Debug mode. Always enabled, reserved for future use.

-v, --verbose <1-9>

Output information while processing is occurring.  Set the level to a higher number for more information.  Levels range from 1 to 9, but not all levels are used.

Default: verbose = 1

-V, --version

Displays the version and exits.

-a <file>, --aliasfile <file>

Set the alias file to <file>

Default: /etc/ncid/ncidd.alias

-c <file>, --cidlog <file>

Set the call file to <file>

Default: /var/log/cidcall.log

-i, --ignore1

This is a US/Canada option only.

A leading one in an alias definition and in the calling number is ignored.

Normally an alias requires the calling number as it appears in the cidcall.log. In the US a leading 1 may or may not be provided in incoming or outgoing calls.

Default: The leading 1 must be in the alias if it is in the calling number.

--multi

Updates the current cidcall.log file and all previous call files.

Default: Updates only the cidcall.log file

-R, --regex <0-2>

If regex = 0, uses Simple Expressions.

If regex = 1, uses Posix Regular Expressions.

If regex = 2, uses Perl-compatible Expressions.

Default: Uses Simple Expressions

See Also

ncidd.conf.5, ncidd.alias.5, cidalias.1, cidcall.1

Info

2019-07-25 perl v5.30.0 User Contributed Perl Documentation