On 18 Dec 2001, Chmouel Boudjnah wrote:

> Oden Eriksson <[EMAIL PROTECTED]> writes:
>
> > So what's the difference?
>
> chmou@giants|~| aa=
> chmou@giants|~| [[ $aa != 0 ]] && echo bar
> bar
> chmou@giants|~| [ $aa != 0 ] && echo bar
> [: !=: unary operator expected
> chmou@giants|~|
>
> and more and more (can't list here)

[[ is a bash internal, while [ is a symlink to test.

seb


Reply via email to