X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/8bc8d59cc1a8d7d555dfd3583e32a8cdd13e3c5b..7fc8bcc7ce494daa94a0e6fced0c1d78947c2125:/demandoc.1 diff --git a/demandoc.1 b/demandoc.1 index dd8e677b..bca69eff 100644 --- a/demandoc.1 +++ b/demandoc.1 @@ -1,4 +1,4 @@ -.\" $Id: demandoc.1,v 1.4 2011/09/01 22:25:53 kristaps Exp $ +.\" $Id: demandoc.1,v 1.8 2014/09/12 00:10:26 schwarze Exp $ .\" .\" Copyright (c) 2011 Kristaps Dzonsons .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 1 2011 $ +.Dd $Mdocdate: September 12 2014 $ .Dt DEMANDOC 1 .Os .Sh NAME @@ -33,6 +33,13 @@ and .Xr man 7 .Ux manual files. +.Pp +By default, +.Nm +parses standard input and outputs only text nodes, preserving line +and column position. +Escape sequences are omitted from the output. +.Pp Its arguments are as follows: .Bl -tag -width Ds .It Fl w @@ -42,26 +49,15 @@ A .Qq word , in this case, refers to whitespace-delimited terms beginning with at least two letters and not consisting of any escape sequences. -Terms have their leading and trailing punctuation +Words have their leading and trailing punctuation .Pq double-quotes, sentence punctuation, etc. stripped. .It Ar The input files. .El .Pp -If -.Ar file -is not provided, -.Nm -accepts standard input. If a document is not well-formed, it is skipped. .Pp -By default, -.Nm -parses its input and outputs only text nodes, preserving line column -position. -Escape sequences are omitted from the output. -.Pp The .Fl i , .Fl k , @@ -96,7 +92,7 @@ This is accomplished as follows (assuming British spelling): .Dl $ demandoc -w file.1 | spell -b .Sh SEE ALSO .Xr mandoc 1 , -.Xr man 7 +.Xr man 7 , .Xr mdoc 7 .Sh HISTORY .Nm @@ -109,5 +105,4 @@ documents. The .Nm utility was written by -.An Kristaps Dzonsons , -.Mt kristaps@bsd.lv . +.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv .