From: David Paleino Date: Mon, 9 Nov 2009 09:22:12 +0000 Subject: 0013 Fix man pages Fix man pages, manpage-has-errors-from-man and hyphen-used-as-minus-sign Forwarded: no --- ispell.1X | 26 +++++++++++++------------- ispell.5X | 26 +++++++++++++------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/ispell.1X b/ispell.1X index b27b120..79894d4 100644 --- a/ispell.1X +++ b/ispell.1X @@ -236,8 +236,8 @@ count affix-file .RB [ \-p | \-s] .RB [ \-c ] .I expanded-file -.IR affix [ +addition ] -... +.IR affix +.RI [ +addition ] .PP .B icombine .RB [ \-T @@ -336,7 +336,7 @@ The amount of context is subject to a system-imposed limit. If the .B \-V flag is given, characters that are not in the 7-bit ANSI printable -character set will always be displayed in the style of "cat -v", even if +character set will always be displayed in the style of "cat \-v", even if .I ispell thinks that these characters are legal ISO Latin-1 on your system. This is useful when working with older terminals. @@ -542,7 +542,7 @@ option is used to specify an alternate hashed dictionary file, other than the default. If the filename does not contain a "/", the library directory for the default dictionary file is prefixed; -thus, to use a dictionary in the local directory "-d ./xxx.hash" must +thus, to use a dictionary in the local directory "\-d ./xxx.hash" must be used. This is useful to allow dictionaries for alternate languages. Unlike previous versions of @@ -615,7 +615,7 @@ alphabetics have no meaning - alphabetics are already accepted. .I Ispell will typically be used with input from a file, meaning that preserving parity for possible 8 bit characters from the input text is OK. If you -specify the -l option, and actually type text from the terminal, this may +specify the \-l option, and actually type text from the terminal, this may create problems if your stty settings preserve parity. .PP It is not possible to use @@ -799,7 +799,7 @@ that the '&' is replaced by '?' (and the near-miss count is always zero). The suggested derivations following the near misses are in the form: .PP .RS -[prefix+] root [-prefix] [-suffix] [+suffix] +[prefix+] root [\-prefix] [\-suffix] [+suffix] .RE .PP (e.g., "re+fry-y+ies" to get "refries") @@ -841,7 +841,7 @@ These output lines can be summarized as follows: .PP For example, a dummy dictionary containing the words "fray", "Frey", "fry", and "refried" might produce the following response to the -command "echo 'frqy refries | ispell -a -m -d ./test.hash": +command "echo 'frqy refries | ispell \-a \-m \-d ./test.hash": .RS .nf (#) International Ispell Version 3.0.05 (beta), 08/10/91 @@ -1036,7 +1036,7 @@ script does this. As an example, the command: .PP .RS -echo BOTHER | ispell -c +echo BOTHER | ispell \-c .RE .PP produces: @@ -1055,7 +1055,7 @@ it expands affix flags to produce a list of words. For example, the command: .PP .RS -echo BOTH/R | ispell -e +echo BOTH/R | ispell \-e .RE .PP produces: @@ -1268,7 +1268,7 @@ hash file if it were added to the language table. Only affixes that generate legal roots (found in the original input) are listed. .PP -If the "-c" option is not given, the output lines are in the +If the "\-c" option is not given, the output lines are in the following format: .IP strip/add/count/bytes @@ -1298,7 +1298,7 @@ If the the output is made visually cleaner (but harder to post-process) by changing it to: .IP --strip+addcountbytes +\-strip+addcountbytes .PP where .IR strip , @@ -1313,7 +1313,7 @@ represents the ASCII tab character. The method used to generate possible affixes will also generate longer affixes which have common headers or trailers. For example, the two words "moth" and "mother" will generate not only the obvious -substitution "+er" but also "-h+her" and "-th+ther" (and possibly +substitution "+er" but also "\-h+her" and "\-th+ther" (and possibly even longer ones, depending on the value of .IR min ). To prevent @@ -1621,7 +1621,7 @@ redirected. However, a lot of the temporary space needed is for sorting, so TMPDIR is only a partial help on systems with an uncooperative .IR sort (1). -("Cooperative" is defined as accepting the undocumented -T switch). +("Cooperative" is defined as accepting the undocumented \-T switch). At its peak usage, .I munchlist takes 10 to 40 times the original diff --git a/ispell.5X b/ispell.5X index ab526ed..7a1c2e5 100644 --- a/ispell.5X +++ b/ispell.5X @@ -137,8 +137,8 @@ This feature can be used to convert an entire dictionary if necessary:) echo qqqqq > dummy.dict buildhash dummy.dict \fIaffix-file\fP dummy.hash awk '{print "*"}END{print "#"}' \fIold-dict-file\fP \e - | ispell -a -T \fIold-dict-string-type\fP \e - -d ./dummy.hash -p ./\fInew-dict-file\fP \e + | ispell \-a \-T \fIold-dict-string-type\fP \e + \-d ./dummy.hash \-p ./\fInew-dict-file\fP \e > /dev/null rm dummy.* .fi @@ -622,7 +622,7 @@ or .B stringchar statements. For example, if the hyphen is a boundary character (useful in French), -the string "foo-bar" would be a single word, but "-foo" would be the +the string "foo-bar" would be a single word, but "\-foo" would be the same as "foo", and "foo--bar" would be two words separated by non-word characters. .PP @@ -916,7 +916,7 @@ The following (suffix) replacements: .RS .nf \&. > MENT -Y > -Y,IES +Y > \-Y,IES .fi .RE .PP @@ -956,8 +956,8 @@ Instead, you must use two separate rules: .PP .RS .nf -E > -E,IES -Y > -Y,IES +E > \-E,IES +Y > \-Y,IES .fi .RE .PP @@ -1005,7 +1005,7 @@ For example, to specify words ending in "ED", write: .PP .RS .nf -E D > -ED,ING # As in covered > covering +E D > \-ED,ING # As in covered > covering .fi .RE .PP @@ -1013,7 +1013,7 @@ If you write: .PP .RS .nf -ED > -ED,ING +ED > \-ED,ING .fi .RE .PP @@ -1021,7 +1021,7 @@ the effect will be the same as: .PP .RS .nf -[ED] > -ED,ING +[ED] > \-ED,ING .fi .RE .PP @@ -1047,7 +1047,7 @@ is useful, as in the following example: .PP .RS .nf -$ munchlist -c oldaffixes -l newaffixes olddict > newdict +$ munchlist \-c oldaffixes \-l newaffixes olddict > newdict .fi .RE .PP @@ -1070,7 +1070,7 @@ flag from the English affix file: .RS .nf flag *S: - [^AEIOU]Y > -Y,IES # As in imply > implies + [^AEIOU]Y > \-Y,IES # As in imply > implies [AEIOU]Y > S # As in convey > conveys [SXZH] > ES # As in fix > fixes [^SXZHY] > S # As in bat > bats @@ -1099,8 +1099,8 @@ For example, we could extend the English "R" flag as follows: flag *R: E > R # As in skate > skater E > RS # As in skate > skaters - [^AEIOU]Y > -Y,IER # As in multiply > multiplier - [^AEIOU]Y > -Y,IERS # As in multiply > multipliers + [^AEIOU]Y > \-Y,IER # As in multiply > multiplier + [^AEIOU]Y > \-Y,IERS # As in multiply > multipliers [AEIOU]Y > ER # As in convey > conveyer [AEIOU]Y > ERS # As in convey > conveyers [^EY] > ER # As in build > builder --