From e214711ff041f04d05f9b64b3cd43739db6211f2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 2 May 2005 05:46:47 +0000 Subject: [PATCH] (Limitations of Usual Tools): "expr '' \| ''" outputs 0 on GNU/Linux these days. --- doc/autoconf.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/autoconf.texi b/doc/autoconf.texi index c1664978..4e01a029 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -11701,7 +11701,7 @@ example: expr '' \| '' @end example -@acronym{GNU}/Linux and Posix 1003.2-1992 return the empty string +Posix 1003.2-1992 returns the empty string for this case, but traditional Unix returns @samp{0} (Solaris is one such example). In Posix 1003.1-2001, the specification was changed to match traditional Unix's behavior (which is -- 2.11.4.GIT