1CIDUPDATE(1) NCID CIDUPDATE(1)
2
3
4
6 cidupdate - update aliases in the NCID call file
7
9 cidupdate [--help | -h]
10 [--version | -V]
11
12 cidupdate [--aliasfile | -a <file>]
13 [--config | -C <file>]
14 [--cidlog | -c <file>]
15 [--blacklist | -B <file>]
16 [--whitelist | -W <file>]
17 [--hangup | -H <0-3>]
18 [--ignore1 | -i]
19 [--multi | -M]
20 [--regex | -r <0-2>]
21 [--verbose | -v <1-9>]
22 [--yes | -y]
23
24
26 Update the current NCID call log file (cidcall.log) using the newest
27 entries found in the alias file (ncidd.alias) and #= notes in the
28 whitelist and blacklist files.
29
30 If the --multi option is present, the current cidcall.log file and pre‐
31 vious call files .1 to .9 are updated.
32
33
35 -h, --help
36 Displays the help message and exits.
37
38
39 -v, --verbose <1-9>
40 Output information while processing is occurring. Set the level
41 to a higher number for more information. Levels range from 1 to
42 9, but not all levels are used.
43
44
45 -V, --version
46 Displays the version and exits.
47
48
49 -C <file>, --config <file>
50 Get the default options from <file>
51 Default: /etc/ncid/ncidd.conf
52
53
54 -a <file>, --aliasfile <file>
55 Get the alias commands from <file>
56 Default: from ncidd.conf (usually /etc/ncid/ncidd.alias)
57
58
59 -c <file>, --cidlog <file>
60 Set the input call log file to <file>
61 Default: /var/log/cidcall.log
62
63
64 -B <file>, --blacklist <file>
65 Set the blacklist file to <file>
66 Default: from ncidd.conf (usually /etc/ncid/ncidd.blacklist)
67
68
69 -W <file>, --whitelist <file>
70 Set the whitelist file to <file>
71 Default: from ncidd.conf (usually /etc/ncid/ncidd.whitelist)
72
73
74 -H <0-3>, --hangup <0-3>
75 Set the hangup level to 0 (off) to disable the addition of names
76 from the whitelist and blacklist #= descriptions.
77 Default: from ncidd.conf
78
79
80
81 -i, --ignore1
82 This is a US/Canada option only.
83 A leading one in an alias definition and in the calling number
84 is ignored.
85 Normally an alias requires the calling number as it appears in
86 the cidcall.log. In the US a leading 1 may or may not be pro‐
87 vided in incoming or outgoing calls.
88 Default: from ncidd.conf, the leading 1 must be in the alias if
89 it is in the calling number.
90
91
92 -M, --multi
93 Updates the current cidcall.log file and previous call files .1
94 to .9.
95 Default: Updates only the cidcall.log file
96
97
98 -r, --regex <0-2>
99 If regex = 0, uses Simple Expressions.
100 If regex = 1, uses Posix Regular Expressions.
101 If regex = 2, uses Perl-compatible Expressions.
102 Default: Uses Simple Expressions
103
104
105 -y, --yes
106 Answer yes to the prompt for overwriting the old call log with
107 the generated new one.
108 Default: Waits for user input
109
110
111
113 ncidd.conf.5, ncidd.alias.5, cidalias.1, cidcall.1
114
115
116
117NCID 2021-01-7 CIDUPDATE(1)