Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/fortune/fortune Prettify formatting.
details: https://anonhg.NetBSD.org/src/rev/828ee7bb76b9
branches: trunk
changeset: 962475:828ee7bb76b9
user: uwe <uwe%NetBSD.org@localhost>
date: Tue Jul 23 09:50:27 2019 +0000
description:
Prettify formatting.
diffstat:
games/fortune/fortune/fortune.6 | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diffs (70 lines):
diff -r 5aae4957d1b5 -r 828ee7bb76b9 games/fortune/fortune/fortune.6
--- a/games/fortune/fortune/fortune.6 Tue Jul 23 09:47:16 2019 +0000
+++ b/games/fortune/fortune/fortune.6 Tue Jul 23 09:50:27 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fortune.6,v 1.14 2019/07/22 13:37:37 sevan Exp $
+.\" $NetBSD: fortune.6,v 1.15 2019/07/23 09:50:27 uwe Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -43,8 +43,8 @@
.Op Fl aefilosw
.Op Fl m Ar pattern
.Oo
-.Op Ar N%
-.Ar file/dir/all
+.Op Ar N\^ Ns Cm \&%
+.Ar file\| Ns / Ns Ar dir\| Ns / Ns Cm \^all
.Oc
.Sh DESCRIPTION
When
@@ -110,12 +110,12 @@
The user may specify alternative sayings.
You can specify a specific file, a directory which contains one or
more files, or the special word
-.Em all ,
+.Cm all ,
which says to use all the standard databases.
Any of these may be preceded by a percentage, which is a number
.Ar N
between 0 and 100 inclusive, followed by a
-.Sq %
+.Ql %
character.
If it is, there will be an
.Ar N
@@ -127,18 +127,18 @@
one of them will be based on their relative sizes.
.Pp
As an example, given two databases
-.Em funny
+.Ar funny
and
-.Em not-funny ,
+.Ar not-funny ,
with
-.Em funny
+.Ar funny
twice as big, saying
.Bd -literal -offset indent
$ fortune funny not-funny
.Ed
.Pp
will get you fortunes out of
-.Em funny
+.Ar funny
two-thirds of the time.
The command
.Bd -literal -offset indent
@@ -146,9 +146,9 @@
.Ed
.Pp
will pick out 90% of its fortunes from
-.Em funny
+.Ar funny
(the
-.Dq 10%
+.Ql 10%
is unnecessary, since 10% is all that's left).
The
.Fl e
Home |
Main Index |
Thread Index |
Old Index