summaryrefslogtreecommitdiffstats
path: root/demandoc.1
diff options
context:
space:
mode:
Diffstat (limited to 'demandoc.1')
-rw-r--r--demandoc.114
1 files changed, 12 insertions, 2 deletions
diff --git a/demandoc.1 b/demandoc.1
index 169616d2..1c1cd585 100644
--- a/demandoc.1
+++ b/demandoc.1
@@ -41,8 +41,10 @@ This outputs each word of text on its own line.
A
.Qq word ,
in this case, refers to whitespace-delimited terms beginning with at
-least two letters after opening punctuation and not consisting of any
-escape sequences.
+least two letters and not consisting of any escape sequences.
+Terms have their leading and trailing punctuation
+.Pq double-quotes, sentence punctuation, etc.
+stripped.
.It Ar
The input files.
.El
@@ -84,6 +86,14 @@ Such errors cause
to exit at once, possibly in the middle of parsing or formatting a file.
The output databases are corrupt and should be removed .
.El
+.Sh EXAMPLES
+The traditional usage of
+.Nm
+is for spell-checking manuals on
+.Bx .
+This is accomplished as follows (assuming British spelling):
+.Pp
+.Dl $ demandoc -w file.1 | spell -b
.Sh SEE ALSO
.Xr mandoc 1 ,
.Xr man 7