Re: [dwm] problem with dmenu3.1

From: Diego Biurrun <diego_AT_biurrun.de>
Date: Wed, 23 May 2007 16:41:09 +0200

On Wed, May 23, 2007 at 04:18:34PM +0200, Sander van Dijk wrote:
> On 5/23/07, Anselm R. Garbe <arg_AT_suckless.org> 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 "[").
> Btw, in bash they are _both_ builtins (don't ask me why, I wonder when
> they are going to make "emacs" a builtin too), but even then I believe
> "test" indicates clearer what's going on than "[".

The emacs comparison is nonsensical. test is a builtin in most shells
(offhand bash, ash, dash, ksh, pdksh, zsh, sash on this Debian system
where I have a login shell), so of course [ should be a builtin, too.
They're the same thing after all.

Diego
Received on Wed May 23 2007 - 16:41:10 UTC

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