summaryrefslogtreecommitdiffstats
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
commit1b9712933d43315da43d9af66582bfe16edb1c9a (patch)
treebd82c75a2b58f0a919afaedf38bb3c49abd43266
parent81f15bc561ffaad5b45de87b0e8c25e6070c2930 (diff)
downloadmandoc-1b9712933d43315da43d9af66582bfe16edb1c9a.tar.gz
Add two EXAMPLES; triggered by a question from jmc@.
Feedback and OK jmc@.
-rw-r--r--man.110
1 files changed, 10 insertions, 0 deletions
diff --git a/man.1 b/man.1
index 1b3e10f3..06a9caa2 100644
--- a/man.1
+++ b/man.1
@@ -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 ,