From fe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 25 Dec 2011 19:35:44 +0000 Subject: State default usage before listing arguments of a utility. Inspired by a patch to mandocdb.8 by schwarze@ some time ago. Ok jmc@. --- preconv.1 | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'preconv.1') diff --git a/preconv.1 b/preconv.1 index 30d8fa4d..c4cb8c57 100644 --- a/preconv.1 +++ b/preconv.1 @@ -1,4 +1,4 @@ -.\" $Id: preconv.1,v 1.5 2011/08/18 08:58:44 kristaps Exp $ +.\" $Id: preconv.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: August 18 2011 $ +.Dd $Mdocdate: December 25 2011 $ .Dt PRECONV 1 .Os .Sh NAME @@ -38,6 +38,11 @@ or other troff system supporting the escape sequence .Pc input. +.Pp +By default, it parses from standard output, determining encoding as +described in +.Sx Algorithm . +.Pp Its arguments are as follows: .Bl -tag -width Ds .It Fl D Ar enc @@ -48,15 +53,6 @@ The document's encoding. The input file. .El .Pp -If -.Ar file -is not provided, -.Nm -accepts standard input. -See -.Sx Algorithm -for encoding choice. -.Pp The recoded input is written to standard output: Unicode characters in the ASCII range are printed as regular ASCII characters, while those above this range are printed using the -- cgit v1.2.3