Bug 257465

Summary: Content errors in the strfile / unstr man pages
Product: Documentation Reporter: Hubert Tournier <hubert.tournier>
Component: Manual PagesAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Some People CC: doc, felix.the.red, ygy
Priority: --- Keywords: easy, needs-qa, patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Corrective patch none

Description Hubert Tournier 2021-07-27 22:43:00 UTC
Created attachment 226747 [details]
Corrective patch

The strfile(8) and unstr(8) man pages have content errors:

1) they reference a strfile.dat default output file that is never created (the default is to append a .dat extension to the provided source_file)

2) they mention a 4.4BSD origin, whereas these commands appeared in 2.9BSD (see https://minnie.tuhs.org/cgi-bin/utree.pl?file=2.9BSD/usr/src/games/fortune/strfile.c )

Here's a patchfile to correct these errors, and bring 2 additional precisions.
Comment 1 Hubert Tournier 2021-08-05 17:59:42 UTC
The strfile command first appeared in 4.1cBSD, which was released in December 1982. 2.9BSD was only released in November 1983.

From Ken Arnold original source code, he seemed to have a strfile implementation in September 1978, even before the release of UNIX 7th edition.

My patch should be modified to change 2.9BSD into 4.1cBSD.