=================================================================== RCS file: /cvs/mandoc/demandoc.1,v retrieving revision 1.4 retrieving revision 1.6 diff -u -p -r1.4 -r1.6 --- mandoc/demandoc.1 2011/09/01 22:25:53 1.4 +++ mandoc/demandoc.1 2011/12/25 19:35:44 1.6 @@ -1,4 +1,4 @@ -.\" $Id: demandoc.1,v 1.4 2011/09/01 22:25:53 kristaps Exp $ +.\" $Id: demandoc.1,v 1.6 2011/12/25 19:35:44 kristaps 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: December 25 2011 $ .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,25 +49,14 @@ 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 ,