On 03/18/10 09:21 AM, Stefan Teleman wrote:
>
> The issue is that there are now 4 different grep's in Solaris, and
> that the shell can pick a different one from the one i explicitly
> chose by setting my PATH. I find that having 4 different greps is
> excessive, and very difficult to justify architecturally.
We already have them even without this case. I hate this too. I would
love to just get rid of *all* the others, provide a single
implementation based on ksh93 that offers all the most often requested
features. But that's not this case.
>
> And it is not acceptable to say "get rid of /usr/gnu and make room for
> the ksh93 builtins", because that's not how it is supposed to work.
> The GNU coreutils/binutils were integrated first.
If you feel that way, then either don't use ksh93, or use a .profile
that disables the builtins.
The point of this case is that the builtins are drop-in compatible. You
should not care about the implementation. If you *do*, then you're an
edge case user and its not unreasonable that you have to suffer some
extra pain to get exactly the implementation bits you want.
- Garrett