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)
URL:
Keywords: easy, needs-qa
Depends on:
Blocks:
 
Reported: 2021-07-27 22:43 UTC by Hubert Tournier
Modified: 2024-09-30 11:14 UTC (History)
3 users (show)

See Also:


Attachments
Corrective patch (937 bytes, patch)
2021-07-27 22:43 UTC, Hubert Tournier
no flags Details | Diff

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.