aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/preconv.1
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-25 19:35:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-25 19:35:44 +0000
commitfe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b (patch)
tree83c49312a96c65a95ef35f03cf8ed9c774d8131a /preconv.1
parentca227bf5f3d09e4e0e8db2c2931780855601912a (diff)
downloadmandoc-fe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b.tar.gz
mandoc-fe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b.tar.zst
mandoc-fe96e1360e5ae0b06ebcc7fa1d8fa5e38846093b.zip
State default usage before listing arguments of a utility. Inspired by a
patch to mandocdb.8 by schwarze@ some time ago. Ok jmc@.
Diffstat (limited to 'preconv.1')
-rw-r--r--preconv.118
1 files changed, 7 insertions, 11 deletions
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 <kristaps@bsd.lv>
.\"
@@ -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