bug-autoconf
[Top][All Lists]
Advanced

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

Inconsistent use of test in manual


From: Reuben Thomas
Subject: Inconsistent use of test in manual
Date: Tue, 17 Mar 2009 12:23:54 +0000 (GMT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

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

[Prev in Thread] Current Thread [Next in Thread]