Re: Bug in solaris 10 /bin/ksh w.r.t. test -z ")"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eric.

On Tuesday 07 September 2010, Eric Blake wrote:
> Therefore,
> 
> >   $ /bin/ksh -c 'test -z ")"; echo $?' # ready to laugh or cry?
> >   0
> 
> this is yet another case of @var{string} that looks like an
> operator, and yet another reason that you should ALWAYS use test
> x"$val" = x rather than test -z "$val" if you don't know what $val
> contains.
> 
> But yes, giving this particular example in the manual would be
> helpful.
Thanks for having added this to the Autoconf manual.

Regards,
   Stefano

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux