cidupdate man page

cidupdate — update aliases in the NCID call file

Synopsis

 cidupdate [--help|-h] [--man|-m] [--version|-V]

 cidupdate [--aliasfile|-a <aliasfile>]
           [--cidlog|-c <cidlog>]
           [--ignore1|-i]
           [--regex|-R]
           [--multi]

Description

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

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

Call types updated are: BLK, CID, END, HUP, OUT, PID, WID

Message types updated are: MSG, NOT

Options

-h, --help

Displays the help message and exits.

-m, --man

Displays the manual page and exits.

-V, --version

Displays the version and exits.

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

Set the alias file to <aliasfile>

Default: /etc/ncid/ncidd.alias

-c <logfile>, --cidlog <logfile>

Set the call file to <logfile>

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

Uses Regular Expressions instead of Simple Expressions.

Default: Uses Simple Expressions

See Also

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

Info

2016-09-11 perl v5.24.1 User Contributed Perl Documentation