tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: A small standards-compliance diff for what(1)

And this time, I'm attaching a proper cvs diff.
SHA512 (cvswhatcdiff) =

On Mon, Dec 6, 2021 at 2:27 AM Andras Farkas <> wrote:
> Hello!
> The man page for what(1) describes it as conforming to "X/Open
> Portability Guide Issue 4, Version 2" however it does not.
> NetBSD's what doesn't include the : (colon) after the filename, while
> that is mandated for conformance.
> The short diff I have attached fixes this.
> SHA512 (whatcdiff) =
> 641d1a0bee3079ccf16193067f73925aaefd431653952623204874dcb6636480df83443163146f803f8363faa1458f5c362b52e703b836524974c5c6525e2783
> The original file in this diff is the one in NetBSD 9.2's source.
> Also, the STANDARDS section of the man page could probably be updated
> to reference a more recent version of the standards.  OpenBSD's man
> page for what has reasonable wording for this: "The what utility is
> compliant with the X/Open System Interfaces option of the IEEE Std
> 1003.1-2008 (“POSIX.1”) specification."
> Alternatively, if standards-compliance is not desired, only a small
> diff for the man page would be needed.
> Thank you for reading my diff.
> (I sent this, mistakenly, to netbsd-bugs@ first!  Oops!  So here it
> is, here, now)

Attachment: cvswhatcdiff
Description: Binary data

Home | Main Index | Thread Index | Old Index