Re: SUSv3 + XSI => type (was: command -v in postinsts violating policy)
On Tue, May 28, 2002 at 12:28:57AM -0400, Clint Adams wrote:
>
> Careful, XSI has a lot of bloat that has no business being in a shell.
Examples please. I did not find anything within the shell description
that seemed out of place.
> of required builtins and such. Also, though XSI requires type be a
> builtin, UP doesn't require that command be a builtin.
I disagree with this line of reasoning. If it was applied uniformly,
you could also remove the read utility from a shell since there is no
requirement for it to be a builtin.
You may argue that read cannot be easily implemented outside a shell.
That's true, but then command can't be easily implemented as an
external utility either. Consider:
while :; do command break; done
--
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: