On 2007-08-19 12:56:51 -0700, David Brodbeck wrote:
> It certainly has its warts.  In particular, Bash's "test" (aka "[") 
> operator has pitfalls.  Testing for an empty variable, for example, is 
> awkward.  If you do:
>
> if [ $foo == "" ]
>
> Bash will complain about missing arguments.

Yes, bash sucks. See also:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421591

zsh has fewer problems.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to