NetBSD-Bugs archive

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

Small diff for what(1)



Hi!

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.

Attachment: whatcdiff
Description: Binary data



Home | Main Index | Thread Index | Old Index