Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/fortune src/games/fortune/fortune/fortune.6:



details:   https://anonhg.NetBSD.org/src/rev/f72c2e112299
branches:  trunk
changeset: 780728:f72c2e112299
user:      jdf <jdf%NetBSD.org@localhost>
date:      Sat Aug 04 22:29:58 2012 +0000

description:
src/games/fortune/fortune/fortune.6:
 * reference strfile(8) in `SEE ALSO' section.

src/games/fortune/strfile/strfile.8:
 * remove redundant argument to (successive) `.Nm' macros.

src/games/fortune/datfiles/fortunes2:
 * remove (the least complete variant of a) double fortune.

Patch submitted by Bug Hunting.

diffstat:

 games/fortune/datfiles/fortunes2 |   4 ----
 games/fortune/fortune/fortune.6  |   5 +++--
 games/fortune/strfile/strfile.8  |  10 +++++-----
 3 files changed, 8 insertions(+), 11 deletions(-)

diffs (74 lines):

diff -r cca4d6f483a6 -r f72c2e112299 games/fortune/datfiles/fortunes2
--- a/games/fortune/datfiles/fortunes2  Sat Aug 04 21:21:09 2012 +0000
+++ b/games/fortune/datfiles/fortunes2  Sat Aug 04 22:29:58 2012 +0000
@@ -47575,10 +47575,6 @@
 %
 Thou shalt not omit adultery.
 %
-Though a program be but three lines long, someday it will have to
-be maintained.
-               -- The Tao of Programming
-%
 Though I respect that a lot
 I'd be fired if that were my job
 After killing Jason off and
diff -r cca4d6f483a6 -r f72c2e112299 games/fortune/fortune/fortune.6
--- a/games/fortune/fortune/fortune.6   Sat Aug 04 21:21:09 2012 +0000
+++ b/games/fortune/fortune/fortune.6   Sat Aug 04 22:29:58 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fortune.6,v 1.12 2009/04/12 16:58:57 joerg Exp $
+.\"    $NetBSD: fortune.6,v 1.13 2012/08/04 22:29:59 jdf Exp $
 .\"
 .\" Copyright (c) 1985, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -179,4 +179,5 @@
 .Sh SEE ALSO
 .Xr regex 3 ,
 .Xr random 6 ,
-.Xr rot13 6
+.Xr rot13 6 ,
+.Xr strfile 8
diff -r cca4d6f483a6 -r f72c2e112299 games/fortune/strfile/strfile.8
--- a/games/fortune/strfile/strfile.8   Sat Aug 04 21:21:09 2012 +0000
+++ b/games/fortune/strfile/strfile.8   Sat Aug 04 22:29:58 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: strfile.8,v 1.13 2010/01/17 13:35:00 mbalmer Exp $
+.\"    $NetBSD: strfile.8,v 1.14 2012/08/04 22:29:59 jdf Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -40,7 +40,7 @@
 .Nm unstr
 .Nd "create a random access file for storing strings"
 .Sh SYNOPSIS
-.Nm strfile
+.Nm
 .Op Fl iorsx
 .Op Fl c Ar char
 .Ar source_file
@@ -115,7 +115,7 @@
 The purpose of
 .Nm unstr
 is to undo the work of
-.Nm strfile .
+.Nm .
 It prints out the strings contained in the file
 .Ar source_file
 in the order that they are listed in the header file
@@ -124,7 +124,7 @@
 It is possible to create sorted versions of input files by using
 .Fl o
 when
-.Nm strfile
+.Nm
 is run and then using
 .Nm unstr
 to dump them out in the table order.
@@ -138,6 +138,6 @@
 .Xr fortune 6
 .Sh HISTORY
 The
-.Nm strfile
+.Nm
 utility first appeared in
 .Bx 4.4 .



Home | Main Index | Thread Index | Old Index