Print this page
9097 typos in makemap(1M)/editmap(1M)
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man1m/editmap.1m.man.txt
+++ new/usr/src/man/man1m/editmap.1m.man.txt
1 1 EDITMAP(1M) Maintenance Commands EDITMAP(1M)
2 2
3 3
4 4
5 5 NAME
6 6 editmap - query and edit single records in database maps for sendmail
7 7
8 8 SYNOPSIS
9 9 editmap -C file [-N] [-f] [-q | -u | -x] maptype mapname key
10 10 ["value"]...
11 11
12 12
↓ open down ↓ |
12 lines elided |
↑ open up ↑ |
13 13 DESCRIPTION
14 14 The editmap command queries or edits one record in a database maps used
15 15 by the keyed map lookups in sendmail(1M). Arguments are passed on the
16 16 command line and output (for queries) is directed to standard output.
17 17
18 18
19 19 Depending on how it is compiled, editmap handles up to three different
20 20 database formats, selected using the maptype parameter. See OPERANDS.
21 21
22 22
23 - If the TrustedUser option is set in the sendmail configuration file
24 - and editmap is invoked as root, the generated files are owned by the
23 + If the TrustedUser option is set in the sendmail configuration file and
24 + editmap is invoked as root, the generated files are owned by the
25 25 specified TrustedUser.
26 26
27 27 OPTIONS
28 28 The following options are supported:
29 29
30 30 -C file
31 31 Use the specified sendmail configuration file (file) to look
32 32 up the TrustedUser option.
33 33
34 34
35 35 -f
36 36 Disable the folding of all upper case letters in the key to
37 37 lower case. Normally, all upper case letters in the key are
38 - folded to upper case. This is intended to mesh with the -f
39 - flag in the K line in sendmail.cf. The value is never case
38 + folded to lower case. This is intended to mesh with the -f
39 + flag in the K line in sendmail.cf. The value is never case
40 40 folded.
41 41
42 42
43 43 -N
44 - Include the null byte that terminates strings in the map
44 + Include the null byte that terminates strings in the map
45 45 (for alias maps).
46 46
47 47
48 48 -q
49 49 Query the map for the specified key. If found, print value
50 50 to standard output and exit with 0. If not found then print
51 51 an error message to stdout and exit with EX_UNAVAILABLE.
52 52
53 53
54 54 -u
55 - Update the record for key with value or inserts a new record
56 - if one doesn't exist. Exits with 0 on success or EX_IOERR on
57 - failure.
55 + Update the record for the specified key with the specified
56 + value or inserts a new record if one doesn't exist. Exits
57 + with 0 on success or EX_IOERR on failure.
58 58
59 59
60 60 -x
61 - Delete the specific key from the map. Exit with 0 on
61 + Delete the specified key from the map. Exits with 0 on
62 62 success or EX_IOERR on failure.
63 63
64 64
65 65 OPERANDS
66 66 The following operands are supported:
67 67
68 68 key
69 69 The left hand side of a record.
70 70
71 71 Each record is of the form:
72 72
73 73 key value
74 74
75 75
76 76 key and value are separated by white space.
77 77
78 78
79 79 mapname
80 80 File name of the database map being created.
81 81
82 82
83 83 maptype
84 84 Specifies the database format. The following maptype
85 85 parameters are available:
86 86
87 87 dbm
88 88 Specifies DBM format maps.
89 89
90 90
91 91 btree
92 92 Specifies B-Tree format maps.
93 93
94 94
95 95 hash
96 96 Specifies hash format maps.
97 97
98 98
99 99
100 100 value
101 101 The right hand side of a record.
102 102
103 103 Each record is of the form:
104 104
105 105 key value
↓ open down ↓ |
34 lines elided |
↑ open up ↑ |
106 106
107 107
108 108 key and value are separated by white space.
109 109
110 110
111 111 SEE ALSO
112 112 makemap(1M), sendmail(1M), attributes(5)
113 113
114 114
115 115
116 - September 14, 2001 EDITMAP(1M)
116 + January 21, 2019 EDITMAP(1M)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX