CVS commit: src/games/fortune/fortune
Module Name:src Committed By: uwe Date: Tue Jul 23 11:02:29 UTC 2019 Modified Files: src/games/fortune/fortune: fortune.6 Log Message: Use .Dl for displays with single command. Specify .Bl -width with the same formatting as the actual tags. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/games/fortune/fortune/fortune.6 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/fortune/fortune/fortune.6 diff -u src/games/fortune/fortune/fortune.6:1.16 src/games/fortune/fortune/fortune.6:1.17 --- src/games/fortune/fortune/fortune.6:1.16 Tue Jul 23 10:40:55 2019 +++ src/games/fortune/fortune/fortune.6 Tue Jul 23 11:02:29 2019 @@ -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 catego 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 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/" -compact .It Pa /usr/share/games/fortune/* Fortune files. .El
CVS commit: src/games/fortune/fortune
Module Name:src Committed By: uwe Date: Tue Jul 23 11:02:29 UTC 2019 Modified Files: src/games/fortune/fortune: fortune.6 Log Message: Use .Dl for displays with single command. Specify .Bl -width with the same formatting as the actual tags. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/games/fortune/fortune/fortune.6 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/games/fortune/fortune
Module Name:src Committed By: uwe Date: Tue Jul 23 10:40:56 UTC 2019 Modified Files: src/games/fortune/fortune: fortune.6 Log Message: strfile is installed, don't claim it isn't. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/games/fortune/fortune/fortune.6 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/games/fortune/fortune
Module Name:src Committed By: uwe Date: Tue Jul 23 10:40:56 UTC 2019 Modified Files: src/games/fortune/fortune: fortune.6 Log Message: strfile is installed, don't claim it isn't. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/games/fortune/fortune/fortune.6 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/fortune/fortune/fortune.6 diff -u src/games/fortune/fortune/fortune.6:1.15 src/games/fortune/fortune/fortune.6:1.16 --- src/games/fortune/fortune/fortune.6:1.15 Tue Jul 23 09:50:27 2019 +++ src/games/fortune/fortune/fortune.6 Tue Jul 23 10:40:55 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: fortune.6,v 1.15 2019/07/23 09:50:27 uwe Exp $ +.\" $NetBSD: fortune.6,v 1.16 2019/07/23 10:40:55 uwe Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -166,11 +166,7 @@ Datafiles for .Nm are created by the .Xr strfile 8 -utility, which is not installed by default, -The source code for this utility -can be found in -.Pa /usr/src/games/fortune/strfile , -if it exists. +utility. .Sh FILES .Bl -tag -width XX/usr/share/games/fortune/*XX -compact .It Pa /usr/share/games/fortune/*
CVS commit: src/games/fortune/fortune
Module Name:src Committed By: uwe Date: Tue Jul 23 09:50:27 UTC 2019 Modified Files: src/games/fortune/fortune: fortune.6 Log Message: Prettify formatting. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/games/fortune/fortune/fortune.6 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/fortune/fortune/fortune.6 diff -u src/games/fortune/fortune/fortune.6:1.14 src/games/fortune/fortune/fortune.6:1.15 --- src/games/fortune/fortune/fortune.6:1.14 Mon Jul 22 13:37:37 2019 +++ src/games/fortune/fortune/fortune.6 Tue Jul 23 09:50:27 2019 @@ -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 @@ to guarantee that the message can be rea 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 @@ and/or directories, in which case the pr 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 @@ $ fortune 90% funny 10% not-funny .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
CVS commit: src/games/fortune/fortune
Module Name:src Committed By: uwe Date: Tue Jul 23 09:50:27 UTC 2019 Modified Files: src/games/fortune/fortune: fortune.6 Log Message: Prettify formatting. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/games/fortune/fortune/fortune.6 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/games/fortune/fortune
Module Name:src Committed By: sevan Date: Mon Jul 22 13:37:38 UTC 2019 Modified Files: src/games/fortune/fortune: fortune.6 Log Message: Use \(em to get an emphasis dash To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/games/fortune/fortune/fortune.6 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/fortune/fortune/fortune.6 diff -u src/games/fortune/fortune/fortune.6:1.13 src/games/fortune/fortune/fortune.6:1.14 --- src/games/fortune/fortune/fortune.6:1.13 Sat Aug 4 22:29:59 2012 +++ src/games/fortune/fortune/fortune.6 Mon Jul 22 13:37:37 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: fortune.6,v 1.13 2012/08/04 22:29:59 jdf Exp $ +.\" $NetBSD: fortune.6,v 1.14 2019/07/22 13:37:37 sevan Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)fortune.6 8.3 (Berkeley) 4/19/94 .\" -.Dd September 9, 2004 +.Dd July 22, 2019 .Dt FORTUNE 6 .Os .Sh NAME @@ -91,12 +91,12 @@ rather than give us grief about it, okay .Bd -filled -offset indent \&... let us keep in mind the basic governing philosophy of The Brotherhood, as handsomely summarized in these words: -we believe in healthy, hearty laughter -- at the expense of +we believe in healthy, hearty laughter \(em at the expense of the whole human race, if needs be. Needs be. .Ed .Bd -filled -offset indent-two -compact ---H. Allen Smith, "Rude Jokes" +\(em H. Allen Smith, "Rude Jokes" .Ed .It Fl s Short apothegms only.
CVS commit: src/games/fortune/fortune
Module Name:src Committed By: sevan Date: Mon Jul 22 13:37:38 UTC 2019 Modified Files: src/games/fortune/fortune: fortune.6 Log Message: Use \(em to get an emphasis dash To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/games/fortune/fortune/fortune.6 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/games/fortune/fortune
Module Name:src Committed By: wiz Date: Sun Jan 17 22:52:00 UTC 2010 Modified Files: src/games/fortune/fortune: fortune.c Log Message: Close two file descriptors after using them. Found by cppcheck. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/games/fortune/fortune/fortune.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.