Looking through the manual, I see three types of use of test with =/!=:

1. if test $fstype = no

In this particular case, $fstype is guaranteed to be defined, but isn't it better always to write

   if test "$fstype" = no

as then one doesn't have to check?

2. if test "$package_foo_enabled" = "yes"

I like this!

3. if test "x$with_readline" != xno

Why not write:

   if test "$with_readline" != no

?

It would be nice if this could be made consistent.

--
http://rrt.sc3d.org/ | It is impossible to love and be wise (Francis Bacon)


Reply via email to