Bug 282656 - awk(1) - man page 2nd edition AWK not installed
Summary: awk(1) - man page 2nd edition AWK not installed
Status: Closed DUPLICATE of bug 230730
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:
Depends on:
Blocks:
 
Reported: 2024-11-09 22:43 UTC by Eric
Modified: 2024-11-12 07:35 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric 2024-11-09 22:43:01 UTC
Using 14.1-RELEASE p6 and searching for documentation of the function 
  strftime
it seems that the wrong awk(1) man page from source is being installed.

[1] ~ # ls -i1 /usr/share/man/man1/awk.1.gz /usr/share/man/man1/nawk.1.gz
32665730 /usr/share/man/man1/awk.1.gz
32665730 /usr/share/man/man1/nawk.1.gz
[2] ~ # grep 'strftime' </usr/share/man/man1/awk.1.gz
[3] ~ # grep 'strftime' </usr/src/contrib/one-true-awk/awk.1
.BI strftime( fmt ", " timestamp\^ )
.IR strftime (3).

Commit representing the 2nd edition of the AWK book wrt its man page seems to be:
https://cgit.freebsd.org/src/commit/contrib/one-true-awk/awk.1?id=f39dd6a9784467f0db5886012b3f4b13899be6b8
Comment 1 Eric 2024-11-10 09:35:02 UTC
Extending on my opening message.

By using
# man awk
I was expecting to see the man page that also described the function strftime.

I noticed bug #230730, intending to keep the man page of awk in base up to date; however that man page isn't shown after "man awk" on my system.

___
Ref forum thread:
https://forums.freebsd.org/threads/awk-strftime-undocumented-one-true-awk-awk-1-vs-awk-1.95657/
Comment 2 Alexander Ziaee freebsd_triage 2024-11-12 07:35:31 UTC

*** This bug has been marked as a duplicate of bug 230730 ***