Module Name: src
Committed By: jdf
Date: Sat Aug 4 22:29:59 UTC 2012
Modified Files:
src/games/fortune/datfiles: fortunes2
src/games/fortune/fortune: fortune.6
src/games/fortune/strfile: strfile.8
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/games/fortune/datfiles/fortunes2
cvs rdiff -u -r1.12 -r1.13 src/games/fortune/fortune/fortune.6
cvs rdiff -u -r1.13 -r1.14 src/games/fortune/strfile/strfile.8
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/datfiles/fortunes2
diff -u src/games/fortune/datfiles/fortunes2:1.43 src/games/fortune/datfiles/fortunes2:1.44
--- src/games/fortune/datfiles/fortunes2:1.43 Mon Jan 24 15:30:55 2011
+++ src/games/fortune/datfiles/fortunes2 Sat Aug 4 22:29:58 2012
@@ -47575,10 +47575,6 @@ Thou hast seen nothing yet.
%
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
Index: src/games/fortune/fortune/fortune.6
diff -u src/games/fortune/fortune/fortune.6:1.12 src/games/fortune/fortune/fortune.6:1.13
--- src/games/fortune/fortune/fortune.6:1.12 Sun Apr 12 16:58:57 2009
+++ src/games/fortune/fortune/fortune.6 Sat Aug 4 22:29:59 2012
@@ -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 @@ Fortune files.
.Sh SEE ALSO
.Xr regex 3 ,
.Xr random 6 ,
-.Xr rot13 6
+.Xr rot13 6 ,
+.Xr strfile 8
Index: src/games/fortune/strfile/strfile.8
diff -u src/games/fortune/strfile/strfile.8:1.13 src/games/fortune/strfile/strfile.8:1.14
--- src/games/fortune/strfile/strfile.8:1.13 Sun Jan 17 13:35:00 2010
+++ src/games/fortune/strfile/strfile.8 Sat Aug 4 22:29:59 2012
@@ -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 @@ All fields are written in big-endian byt
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 @@ to standard output.
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 @@ default output file.
.Xr fortune 6
.Sh HISTORY
The
-.Nm strfile
+.Nm
utility first appeared in
.Bx 4.4 .