aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-08-11 15:10:26 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-08-11 15:10:26 +0000
commit0c1c47e6b7db7c6ac3208ab63be3eadda3437749 (patch)
treeacdf9251a930afb136725ea17da932ef5f3e08aa /man.1
parent869ddfc6b23c68ccedf627778460ac91a9b1b1db (diff)
downloadmandoc-0c1c47e6b7db7c6ac3208ab63be3eadda3437749.tar.gz
mandoc-0c1c47e6b7db7c6ac3208ab63be3eadda3437749.tar.zst
mandoc-0c1c47e6b7db7c6ac3208ab63be3eadda3437749.zip
Add two EXAMPLES; triggered by a question from jmc@.
Feedback and OK jmc@.
Diffstat (limited to 'man.1')
-rw-r--r--man.114
1 files changed, 12 insertions, 2 deletions
diff --git a/man.1 b/man.1
index e09023b3..a3265dd8 100644
--- a/man.1
+++ b/man.1
@@ -1,4 +1,4 @@
-.\" $Id: man.1,v 1.30 2017/08/09 12:49:04 schwarze Exp $
+.\" $Id: man.1,v 1.31 2017/08/11 15:10:26 schwarze Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\"
.\" @(#)man.1 8.2 (Berkeley) 1/2/94
.\"
-.Dd $Mdocdate: August 9 2017 $
+.Dd $Mdocdate: August 11 2017 $
.Dt MAN 1
.Os
.Sh NAME
@@ -313,6 +313,16 @@ default man configuration file
See
.Xr mandoc 1
for details.
+.Sh EXAMPLES
+Format a page for pasting extracts into an email message \(em
+avoid printing any UTF-8 characters, reduce the width to ease
+quoting in replies, and remove markup:
+.Pp
+.Dl $ man -T ascii -O width=65 pledge | col -b
+.Pp
+Read a typeset page in a PDF viewer:
+.Pp
+.Dl $ MANPAGER=mupdf man -T pdf lpd
.Sh SEE ALSO
.Xr apropos 1 ,
.Xr col 1 ,