Bug 257465 - Content errors in the strfile / unstr man pages
Summary: Content errors in the strfile / unstr man pages
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2021-07-27 22:43 UTC by Hubert Tournier
Modified: 2021-08-17 08:05 UTC (History)
2 users (show)

See Also:

Corrective patch (937 bytes, text/plain)
2021-07-27 22:43 UTC, Hubert Tournier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.