Stephane CHAZELAS <[email protected]> wrote: > > posh is soooo non-POSIX that even normal tests return incorrect results :-( > > "type" is not in the POSIX base (and as a result not in > the Debian policy)
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/type.html First added with issue 2, which seems to be 1997. Note that XSI enhancements only may be omitted in case of a UNIX system for embedded use. So this is a similar problem as the missing multi byte support in "dash" that only would be permitted if dash was used on embedded systems only. BTW: Given that the multi byte support requires sevral conversions between multi byte chars and wide chars and that these conversions take approx. 30% of the typical time used by the shell, adding multi byte support to dash would make it she slowest shell in the universe. What is still missing in POSIX is a way to list all functions without knowing their names. I added "type -F" for this reason and this was discussed in a Teleconference call some time ago. Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'
