Quoting Brian Dessent <[EMAIL PROTECTED]>:
effectively swallowing it
...
test program does not see any STRING argument at all.
Ok, thanks for your fast answer Brian.
Regards,
Emanuele
This message was sent using IMP, the In
Emanuele Tomasi wrote:
> $> /usr/bin/test -n $casa && echo yes || echo no
> yes
>
> $> /usr/bin/test $casa && echo yes || echo no
> no
>
> $> /usr/bin/test -z $casa && echo yes || echo no
> yes
I think you may not be understanding the fact that the shell expands
$casa into the empty string befor
Hi,
is it a bug of /bin/test? Please see this output:
1)
---
$> which test
/bin/test
$> casa=
$> /usr/bin/test -n $casa && echo yes || echo no
yes
$> /usr/bin/test $casa && echo yes || echo no
no
--