summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruwe <uwe@NetBSD.org>2019-07-23 11:02:29 +0000
committeruwe <uwe@NetBSD.org>2019-07-23 11:02:29 +0000
commit2a29126d894443a7ee580e0ae6306e33108083fc (patch)
tree54eb077a8dd57c5a24738b764feda16df88058c9
parentbe449cb6f456bb283309e66f01d7659a01764fc8 (diff)
downloadbsdgames-darwin-2a29126d894443a7ee580e0ae6306e33108083fc.tar.gz
bsdgames-darwin-2a29126d894443a7ee580e0ae6306e33108083fc.tar.zst
bsdgames-darwin-2a29126d894443a7ee580e0ae6306e33108083fc.zip
Use .Dl for displays with single command. Specify .Bl -width with the
same formatting as the actual tags.
-rw-r--r--fortune/fortune/fortune.626
1 files changed, 11 insertions, 15 deletions
diff --git a/fortune/fortune/fortune.6 b/fortune/fortune/fortune.6
index 54a4e275..de371d4d 100644
--- a/fortune/fortune/fortune.6
+++ b/fortune/fortune/fortune.6
@@ -1,4 +1,4 @@
-.\" $NetBSD: fortune.6,v 1.16 2019/07/23 10:40:55 uwe Exp $
+.\" $NetBSD: fortune.6,v 1.17 2019/07/23 11:02:29 uwe Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -54,7 +54,7 @@ Epigrams are divided into several categories, where each category
is subdivided into those which are potentially offensive and those
which are not.
The options are as follows:
-.Bl -tag -width flag
+.Bl -tag -width ".Fl XXX"
.It Fl a
Choose from all lists of maxims, both offensive and not.
(See the
@@ -133,17 +133,15 @@ and
with
.Ar funny
twice as big, saying
-.Bd -literal -offset indent
-$ fortune funny not-funny
-.Ed
+.Pp
+.Dl $ fortune funny not-funny
.Pp
will get you fortunes out of
.Ar funny
two-thirds of the time.
The command
-.Bd -literal -offset indent
-$ fortune 90% funny 10% not-funny
-.Ed
+.Pp
+.Dl $ fortune 90% funny 10% not-funny
.Pp
will pick out 90% of its fortunes from
.Ar funny
@@ -153,14 +151,12 @@ is unnecessary, since 10% is all that's left).
The
.Fl e
option says to consider all files equal; thus
-.Bd -literal -offset indent
-$ fortune -e
-.Ed
+.Pp
+.Dl $ fortune -e
.Pp
is equivalent to
-.Bd -literal -offset indent
-$ fortune 50% funny 50% not-funny
-.Ed
+.Pp
+.Dl $ fortune 50% funny 50% not-funny
.Pp
Datafiles for
.Nm
@@ -168,7 +164,7 @@ are created by the
.Xr strfile 8
utility.
.Sh FILES
-.Bl -tag -width XX/usr/share/games/fortune/*XX -compact
+.Bl -tag -width ".Pa /usr/share/games/fortune/XXXX" -compact
.It Pa /usr/share/games/fortune/*
Fortune files.
.El