Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2019 20:39:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 241552] awk.1 man page incorrect about how to find awk's version
Message-ID:  <bug-241552-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241552

            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@FreeBSD.org
          Reporter: deepbluemistake@gmail.com
                CC: doc@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 n=
ot
work.
I don't have gawk or any other awk installed from ports or packages, so I k=
now
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 GENE=
RIC=20
amd64
$ freebsd-version -kru
12.0-RELEASE-p10
12.0-RELEASE-p10
12.0-RELEASE-p11

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241552-9>