Re: [dwm] problem with dmenu3.1

From: Jukka Salmi <>
Date: Wed, 23 May 2007 16:35:36 +0200

Sander van Dijk --> dwm (2007-05-23 16:18:34 +0200):
> On 5/23/07, Anselm R. Garbe <> wrote:
>> Thanks! I applied it to the repo, however I'm not totally sure
>> the use of [ is a good idea. Is [ a symlink to test in any Unix?
> 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

> 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 `['.

Regards, Jukka

bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
Received on Wed May 23 2007 - 16:35:36 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:42:27 UTC