]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Limitations of Builtins): More details on
authorAkim Demaille <akim@epita.fr>
Tue, 23 May 2000 16:59:38 +0000 (16:59 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 23 May 2000 16:59:38 +0000 (16:59 +0000)
`test -n ='.

ChangeLog
doc/autoconf.texi

index 8434e52e64a682fe038a965319fa44d745be0a0c..4c42f42bbb0eedd3f23d7eaf6a20216ef1282fff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-23  Akim Demaille  <akim@epita.fr>
+
+       * doc/autoconf.texi (Limitations of Builtins): More details on
+       `test -n ='.
+
 2000-05-23  Akim Demaille  <akim@epita.fr>
 
        Simplify the interface: users shouldn't need to explicitly check
index 821f6faf59e1dc95eb7c11edd5d4c511a9ceecb6..750b62430a2c02ad7d039a8f37f64d7814f3ae2d 100644 (file)
@@ -4768,14 +4768,14 @@ start with a dash, since @code{test} might interpret its argument as an
 option (e.g., @samp{@var{string} = "-n"}).
 
 Contrary to a common belief, @samp{test -n @var{string}} and @samp{test
--z @var{string}} @strong{are} portable, nevertheless many shells (e.g.,
-FIXME: AIX IIRC) have bizarre precedence and may be confused if
-@var{string} looks like an operator:
+-z @var{string}} @strong{are} portable, nevertheless many shells (such
+as Solaris 2.5, AIX 3.2, UNICOS 10.0.0.6, Digital Unix 4 etc.) have
+bizarre precedence and may be confused if @var{string} looks like an
+operator:
 
 @example
-@c FIXME: Hm, IIRC:
-$ test -n "="
-error: missing argument
+$ test -n =
+test: argument expected
 @end example
 
 If there are risks, use @samp{test "x@var{string}" = x} or @samp{test