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) =
9679a8ea33be8780a02ac65bd5c19fe60ddb2e6dc07f4591925e59f5ca81d82e45344eb8840b85884e0fc83b9562b96e0fc492e2dd1c584aa6c6bc201efaf99f

On Mon, Dec 6, 2021 at 2:27 AM Andras Farkas <deepbluemistake%gmail.com@localhost> 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.
> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/what.html
> https://pubs.opengroup.org/onlinepubs/007908799/xcu/what.html
> 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