On 5/23/07, Jukka Salmi <[EMAIL PROTECTED]> wrote:
Sander van Dijk --> dwm (2007-05-23 16:18:34 +0200):
> I don't know, I do know it's a symlink to test in many linux distros.
> I personally hate it though, since it obscures the fact that you are
> calling a program ("test" is much clearer in this sense thatn "[").

That's a matter of taste, of course. I prefer the latter because then
the expression is delimited by `[' and `]', making it easier to parse
IMHO.

It's a matter of taste indeed; some people have taste, some don't :-P
(kidding, kidding...)

> Btw, in bash they are _both_ builtins (don't ask me why,

Probably to give all shell scripts the same performace gain, whether
they use `test' or `['.

True, but see my other post for why I don't think that's reason enough
by itself.

Greetings, Sander.

Reply via email to