Russ Allbery wrote:
Richard Kettlewell <r...@greenend.org.uk> writes:
In fact 'type' is listed in the SUS, so I think this warning is just
plain wrong.
http://www.opengroup.org/onlinepubs/009695399/utilities/type.html
It's an XSI extension (that's what the notation in the synopsis section
means), which means you're not allowed to use it in /bin/sh scripts in
Debian per current Policy. Only the base POSIX features are allowed at
present (plus the exceptions listed in Policy).
The current online policy text (s10.4) is:
Scripts may assume that /bin/sh implements the SUSv3 Shell
Command Language[66] plus the following additional features
not mandated by SUSv3:
[...]
The SUS text is:
3.439 XSI
The X/Open System Interface is the core application programming
interface for C and sh programming for systems conforming to the
Single UNIX Specification. This is a superset of the mandatory
requirements for conformance to IEEE Std 1003.1-2001.
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_439
To my mind this says that conformance to SUS implies supporting the XSI
features, so anything that assumes SUSv3 should be able to assume XSI as
a consequence.
ttfn/rjk
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org