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.
This commit is contained in:
jdf 2012-08-04 22:29:58 +00:00
parent 45b66ef963
commit 711e13238a
3 changed files with 8 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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 byte order.
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 .