[Bug 241552] awk.1 man page incorrect about how to find awk's version

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 28 20:39:32 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241552

            Bug ID: 241552
           Summary: awk.1 man page incorrect about how to find awk's
                    version
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Manual Pages
          Assignee: bugs at FreeBSD.org
          Reporter: deepbluemistake at gmail.com
                CC: doc at FreeBSD.org

The man page for awk(1) says you can find the version with awk -V
Instead, it seems you find the version with awk --version and awk -V does not
work.
I don't have gawk or any other awk installed from ports or packages, so I know
this is a bug.

$ awk -V
awk: unknown option -V ignored

awk: no program given

$ awk --version
awk version 20121220 (FreeBSD)
$ uname -a
FreeBSD nyann.tanasinn.mochi 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC 
amd64
$ freebsd-version -kru
12.0-RELEASE-p10
12.0-RELEASE-p10
12.0-RELEASE-p11

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-doc mailing list