Bug 230730 - Review the awk(1) manpage (make sure that it is up to date)
Summary: Review the awk(1) manpage (make sure that it is up to date)
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Warner Losh
URL:
Keywords: needs-qa
: 282656 283617 (view as bug list)
Depends on: 226112 247004
Blocks:
  Show dependency tree / graph
 
Reported: 2018-08-18 10:02 UTC by Mateusz Piotrowski
Modified: 2025-10-12 04:01 UTC (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Piotrowski freebsd_committer freebsd_triage 2018-08-18 10:02:49 UTC
It looks like the awk manual page requires a review. It documents nonexistent flags like -V and possibly has more mistakes like this.  

Reported by Samy Mahmoudi at freebsd-current@ (https://lists.freebsd.org/pipermail/freebsd-current/2018-July/070298.html).
Comment 1 Jamie Landeg-Jones 2018-08-19 05:13:59 UTC
Also, please see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226112
Comment 2 Samy Mahmoudi 2018-08-19 09:26:05 UTC
Thank you for this.

By the way, I noticed that the NetBSD manual seems up to date as far as -version is concerned.
Comment 3 Samy Mahmoudi 2020-06-13 12:41:41 UTC
Some improvements today with revision 362147:
awk(1): use -version instead of -V

Could you add a dependency on bug 247004?
Comment 4 Yuri Pankov freebsd_committer freebsd_triage 2020-06-13 13:38:55 UTC
-V is taken care of in bug #247004.
Comment 5 Samy Mahmoudi 2020-06-13 16:32:28 UTC
(In reply to Yuri Pankov from comment #4)
Thanks Yuri ;-)
Comment 7 Alexander Ziaee freebsd_committer freebsd_triage 2024-11-12 07:35:31 UTC
*** Bug 282656 has been marked as a duplicate of this bug. ***
Comment 9 Alexander Ziaee freebsd_committer freebsd_triage 2024-12-30 03:11:05 UTC
*** Bug 283617 has been marked as a duplicate of this bug. ***
Comment 10 commit-hook freebsd_committer freebsd_triage 2025-09-04 06:00:54 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=e7a04a110724183c72e25c5c8461f89f50b4d08a

commit e7a04a110724183c72e25c5c8461f89f50b4d08a
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-09-04 05:44:33 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-09-04 05:59:48 +0000

    awk: Merge upstream manpage updates

    Merge the upstream manpage upades into awk.1. This goes through upstream
    hash 9acc510. Upstream man page is written in raw nroff with "an"
    macros, rather than in mandoc, so convert to mandoc as well. The man
    page isn't updated on imports automatically, plus our man page has
    diverged somewhat from upstraem's so it's not a mechanical change...

    PR: 230730

    Sponsored by:           Netflix

 usr.bin/awk/awk.1 | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 127 insertions(+), 9 deletions(-)