File: 02-man-hyphens.patch

package info (click to toggle)
dictd 1.13.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,920 kB
  • sloc: ansic: 12,523; sh: 4,406; yacc: 512; makefile: 442; cpp: 277; lex: 256; perl: 175; awk: 12
file content (322 lines) | stat: -rw-r--r-- 10,923 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
From: Robert Luberda <robert@debian.org>
Date: Sun, 20 Jan 2008 22:41:37 +0100
Subject: Fix lintian's `hyphen-used-as-minus-sign'

---
 colorit.1.in      |  6 +++---
 dictd.8.in        | 28 +++++++++++++--------------
 dictfmt.1.in      | 58 +++++++++++++++++++++++++++----------------------------
 dictl.1.in        |  2 +-
 dictunformat.1.in |  8 ++++----
 5 files changed, 51 insertions(+), 51 deletions(-)

diff --git a/colorit.1.in b/colorit.1.in
index 4b27ee2..307a6ea 100644
--- a/colorit.1.in
+++ b/colorit.1.in
@@ -4,7 +4,7 @@
 
 .TH COLORIT 1 "28 Oct 2003" "" ""
 .SH "NAME"
-colorit - a script for markuping the text input
+colorit \- a script for markuping the text input
 .SH "SYNOPSIS"
 .nf
 .BI colorit " [OPTIONS] [files...]"
@@ -12,14 +12,14 @@ colorit - a script for markuping the text input
 .SH "DESCRIPTION"
 .B colorit
 is a script for markuping text input and sending a result to pager (
-.I less -r
+.I less \-r
 by default) or stdout.
 Markuping rules are described in a configuration file
 which is filtered by preprocessor (the default is
 .I m4
 ).
 The define HOME equal to your home directory is set for the preprocessor
-using -D option supported by both
+using \-D option supported by both
 .I m4
 and
 .I cpp.
diff --git a/dictd.8.in b/dictd.8.in
index 292c081..aa87987 100644
--- a/dictd.8.in
+++ b/dictd.8.in
@@ -669,7 +669,7 @@ multiple invocations of this option may be made in configuration file
 or dictd command
 line.  For instance:
 .br
-dictd -s --log stats --log found --log notfound
+dictd \-s \-\-log stats \-\-log found \-\-log notfound
 .br
 is a valid command line, and sets three logging options.
 .RS
@@ -825,7 +825,7 @@ then the dictd server will not be compliant to RFC 2229.
 .P
 .BI NOTE 
 If utf-8 or 8-bit dictionaries are included in the configuration file,
-and the appropriate --locale has not been specified,
+and the appropriate \-\-locale has not been specified,
 .B dictd
 will fail to start.  This implies that
 .B dictd 
@@ -935,7 +935,7 @@ The database specification describes the database:
 Specifies the filename for the flat text database.
 If the filename does not begin with '.' or '/', it is prepended with
 $datadir/. It is a compile time option. You can change this behaviour
-by editing Makefile or running ./configure --datadir=...
+by editing Makefile or running ./configure \-\-datadir=...
 .TP
 .BI index " string"
 Specifies the filename for the index file.
@@ -944,14 +944,14 @@ Path matter is similar to that described above in "data" option .
 .BI index_suffix " string"
 This is optional index file to make 'suffix'
 search strategy faster (binary search).
-It is generated by 'dictfmt_index2suffix'. Run "dictfmt_index2suffix --help"
+It is generated by 'dictfmt_index2suffix'. Run "dictfmt_index2suffix \-\-help"
 for more information.
 Path matter is similar to that described above in "data" option .
 .TP
 .BI index_word " string"
 This is optional index file to make 'word'
 search strategy faster (binary search).
-It is generated by 'dictfmt_index2word'. Run "dictfmt_index2word --help"
+It is generated by 'dictfmt_index2word'. Run "dictfmt_index2word \-\-help"
 for more information.
 Path matter is similar to that described above in "data" option .
 .TP
@@ -1342,33 +1342,33 @@ Some headwords are used by
 .I dictd
 especially
 .P
-.BI 00-database-info
+.BI 00\-database\-info
 Containts the information about database
 which is 
 returned by SHOW INFO command,
 unless it is specified in the configuration file.
 .P
-.BI 00-database-short
+.BI 00\-database\-short
 Containts the short name of the database
 which is
 returned by SHOW DB command,
 unless it is specified in the configuration file.
-See dictfmt -s.
+See dictfmt \-s.
 .P
-.BI 00-database-url
+.BI 00\-database\-url
 URL where original dictionary sources were obtained from.
-See dictfmt -u.
+See dictfmt \-u.
 This headword is not used by
 .I dictd
 .P
-.BI 00-database-utf8
+.BI 00\-database\-utf8
 Presents if dictionary is encoded using UTF-8.
-See dictfmt --utf8
+See dictfmt \-\-utf8
 .P
-.BI 00-database-8bit-new
+.BI 00\-database\-8bit\-new
 Presents if dictionary is encoded using 8-BIT character set
 (not ASCII and not UTF8).
-See dictfmt --locale.
+See dictfmt \-\-locale.
 .P
 The flat text file may be compressed using
 .BR gzip (1)
diff --git a/dictfmt.1.in b/dictfmt.1.in
index a3b457b..d2da85c 100644
--- a/dictfmt.1.in
+++ b/dictfmt.1.in
@@ -41,7 +41,7 @@ that conforms to the DICT protocol.  It also creates an index file named
 By default, the index is sorted according to the
 C locale, and only alphanumeric characters and spaces are used in
 sorting, however this may be changed with the
---locale and --allchars
+\-\-locale and \-\-allchars
 options.  (
 .IR basename  " is commonly chosen to correspond to the basename of"
 .I FILE
@@ -66,11 +66,11 @@ these options must be given.
 
 .B dictfmt
 prepends several headers are to the .dict file.  The 00-database-url
-header gives the value of the -u option as the URL of the site from
+header gives the value of the \-u option as the URL of the site from
 which the original database was obtained.  The 00-database-short
-header gives the value of the -s option as the short name of the
+header gives the value of the \-s option as the short name of the
 dictionary.  (This "short name" is the identifying name given by the
-"dict- D" option.)  If the -u and/or -s options are omitted, these
+"dict- D" option.)  If the \-u and/or \-s options are omitted, these
 values will be shown as "unknown", which is undesirable for a publicly
 distributed database.
 
@@ -233,14 +233,14 @@ display version information
 .BI \-D 
 output debugging information
 .TP
-.BI \--help
+.BI \-\-help
 display a help message
 .TP
-.BI \--locale " locale"
+.BI \-\-locale " locale"
 Specifies the locale used for sorting.  If no locale is specified, the
-"C" locale is used. For using UTF-8 mode, --utf8 is needed.
+"C" locale is used. For using UTF-8 mode, \-\-utf8 is needed.
 .TP
-.BI \--8bit
+.BI \-\-8bit
 generates database in 8-bit mode, see
 .I \--locale
 option also.
@@ -249,30 +249,30 @@ option also.
 This option is deprecated.
 Use it for creating 8-bit (non-UTF8) dictionaries only.
 In order to create UTF-8 dictionary, use
-.I \--utf8
+.I \-\-utf8
 option instead.
 .RE
 .TP
-.BI \--utf8
+.BI \-\-utf8
 If specified, UTF-8 database is created.
 .TP
-.BI \--allchars
+.BI \-\-allchars
 Specifies that all characters should be used for the search,
 by default only alphabetic, numeric
 characters and spaces are put to .index file and therefore
 are used in search. Creates the special entry 00-database-allchars.
 .TP
-.BI \--case-sensitive
+.BI \-\-case\-sensitive
 makes the search case sensitive.
 Creates the special entry 00-database-case-sensitive.
 .TP
-.BI \--headword-separator " sep"
+.BI \-\-headword\-separator " sep"
 sets the headword separator, which allows several words to have the same
-definition.  For example, if \'--headword-separator %%%' is given,
+definition.  For example, if \'\-\-headword\-separator %%%' is given,
 and the input file contains \'autumn%%%fall', both 'autumn' and 'fall'
 will be indexed as  headwords, with the same definition.
 .TP
-.BI \--index-data-separator " sep"
+.BI \-\-index\-data\-separator " sep"
 sets the index/data separator, which allows to set the first and fourth
 columns of .index file independently. That is
 the first column can be treated as an index column
@@ -281,41 +281,41 @@ the first column can be treated as an index column
 and they (1-st and 4-th columns) are completely independant of each other.
 The default value for this separator is ASCII symbol " \\034".
 .TP
-.BI \--break-headwords
+.BI \-\-break\-headwords
 multiple headwords will be written on separate lines in the .dict
-file.  For use with '--headword-separator.
+file.  For use with '\-\-headword\-separator.
 .TP
-.BI \--index-keep-orig
-When \--utf-8 is specified headwords are lowercased and
+.BI \-\-index\-keep\-orig
+When \-\-utf\-8 is specified headwords are lowercased and
 non-alphanumeric characters are removed from it
 before saving to .index file
 in order to simplify the search.
-When \--index-keep-orig option is used
+When \-\-index\-keep\-orig option is used
 fourth column is created (if necessary) in .index file,
 and contains an original headword which is returned by MATCH command.
 This option may be useful to prevent converting " AT&T" to " ATT"
 or to keep proper nouns with uppercased first letter.
 .TP
-.BI \--without-headword
+.BI \-\-without\-headword
 headwords will not be included in .dict file
 .TP
-.BI \--without-header
+.BI \-\-without\-header
 header will not be copied to DB info entry
 .TP
-.BI \--without-url
+.BI \-\-without\-url
 URL will not be copied to DB info entry
 .TP
-.BI \--without-time
+.BI \-\-without\-time
 time of creation will not be copied to DB info entry
 .TP
-.BI \--without-ver
+.BI \-\-without\-ver
 By default
 .B dictfmt
-creates a special entry 00-database-dictfmt-X.Y.Z that contains
+creates a special entry 00\-database\-dictfmt\-X.Y.Z that contains
 (in .dict file)
-dictfmt version in format dictfmt-X.Y.Z. This option suppresses this.
+dictfmt version in format dictfmt\-X.Y.Z. This option suppresses this.
 .TP
-.BI \--without-info
+.BI \-\-without\-info
 DB info entry will not be created.
 This may be useful if 00-database-info headword
 is expected from stdin (dictunformat outputs it).
@@ -346,7 +346,7 @@ command to the
 .I dictd
 , definitions found in this database
 are prepended by the specified MIME header. Creates the special entry
-00-database-mime-header.
+00\-database\-mime\-header.
 .SH CREDITS
 .B dictfmt
 was written by Rik Faith (faith@cs.unc.edu) as part of the dict-misc
diff --git a/dictl.1.in b/dictl.1.in
index b6e4761..c0bf5d0 100644
--- a/dictl.1.in
+++ b/dictl.1.in
@@ -46,7 +46,7 @@ iconv
 omits characters from output that are invalid,
 .br
 .B
-recode -f
+recode \-f
 is used for character set conversions by default.
 If you prefer
 .B iconv,
diff --git a/dictunformat.1.in b/dictunformat.1.in
index 3306af6..a6fc114 100644
--- a/dictunformat.1.in
+++ b/dictunformat.1.in
@@ -12,18 +12,18 @@ takes a dictionary index file as a parameter and a dictionary database
 file on stdin and outputs a raw database that may be used to create a 
 .B DICT
 database by 
-.B dictfmt -t.
+.B dictfmt \-t.
 This may be useful if it is desired to create a dictionary for a
 locale other than that for which the original was created, or if it is
 desired to correct or supplement a pre-existing dictionary. 
 .SH OPTIONS
 .TP
-.B --help
+.B \-\-help
 displays a usage message and exits.
 .TP
-.BI --headword-separator " sep"
+.BI \-\-headword\-separator " sep"
 sep is the headword separator used when creating the origianl
-dictionary.  (See --headword-separator in
+dictionary.  (See \-\-headword\-separator in
 .BR "dictfmt (1)").
 .TP
 .B index_filename