From 956095c47c9ff3b7b475ae79d886bf49b25ea7a9 Mon Sep 17 00:00:00 2001 From: jdf Date: Sat, 4 Aug 2012 22:29:58 +0000 Subject: 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. --- fortune/datfiles/fortunes2 | 4 ---- fortune/fortune/fortune.6 | 5 +++-- fortune/strfile/strfile.8 | 10 +++++----- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/fortune/datfiles/fortunes2 b/fortune/datfiles/fortunes2 index 8ba9461e..953e4f80 100644 --- a/fortune/datfiles/fortunes2 +++ b/fortune/datfiles/fortunes2 @@ -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 diff --git a/fortune/fortune/fortune.6 b/fortune/fortune/fortune.6 index f0c4f659..cb9fe61e 100644 --- a/fortune/fortune/fortune.6 +++ b/fortune/fortune/fortune.6 @@ -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 diff --git a/fortune/strfile/strfile.8 b/fortune/strfile/strfile.8 index 6d61a00f..86b91eef 100644 --- a/fortune/strfile/strfile.8 +++ b/fortune/strfile/strfile.8 @@ -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 . -- cgit v1.2.3-56-ge451