autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.63-293-


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63-293-gabee382
Date: Wed, 18 Mar 2009 01:34:35 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=abee382683d1b977f2ab4a91121b4277045e6d5a

The branch, master has been updated
       via  abee382683d1b977f2ab4a91121b4277045e6d5a (commit)
      from  8a54ca8043e5a4cb685d755fd10b78d75f16293e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit abee382683d1b977f2ab4a91121b4277045e6d5a
Author: Eric Blake <address@hidden>
Date:   Tue Mar 17 19:33:08 2009 -0600

    Manual: mention more expr pitfalls.
    
    * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>:
    Mention HP-UX limitation, and $ ambiguity.
    * THANKS: Update.
    Reported by Jens Schmidt, in http://bugs.debian.org/466990.
    
    Signed-off-by: Eric Blake <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    8 ++++++++
 THANKS            |    1 +
 doc/autoconf.texi |   23 +++++++++++++++++++++++
 3 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 259004e..3829924 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-03-18  Eric Blake  <address@hidden>
+
+       Manual: mention more expr pitfalls.
+       * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>:
+       Mention HP-UX limitation, and $ ambiguity.
+       * THANKS: Update.
+       Reported by Jens Schmidt, in http://bugs.debian.org/466990.
+
 2009-03-17  Jim Meyering  <address@hidden>
 
        Manual: fix a typo.
diff --git a/THANKS b/THANKS
index c3e19a2..8d8bb37 100644
--- a/THANKS
+++ b/THANKS
@@ -164,6 +164,7 @@ Jeffrey A Law               address@hidden
 Jeffrey J. Barteet          ?
 Jennis Pruett               ?
 Jens Petersen               address@hidden
+Jens Schmidt                address@hidden
 Jeremy Yallop               address@hidden
 Jerker Bäck                 address@hidden
 Jim Blandy                  address@hidden
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index a0a19b8..a4cb0d1 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -16642,6 +16642,21 @@ Portable @command{expr} regular expressions should not 
begin with
 @samp{^}.  Patterns are automatically anchored so leading @samp{^} is
 not needed anyway.
 
+On the other hand, the behavior of the @samp{$} anchor is not portable
+on multi-line strings.  Posix is ambiguous whether the anchor applies to
+each line, as was done in older versions of @acronym{GNU} Coreutils, or
+whether it applies only to the end of the overall string, as in
+Coreutils 6.0 and most other implementations.
+
address@hidden
+$ @kbd{baz='foo}
+> @kbd{bar'}
+$ @kbd{expr "X$baz" : 'X\(foo\)$'}
+
+$ @kbd{expr-5.97 "X$baz" : 'X\(foo\)$'}
+foo
address@hidden example
+
 The Posix standard is ambiguous as to whether
 @samp{expr 'a' : '\(b\)'} outputs @samp{0} or the empty string.
 In practice, it outputs the empty string on most platforms, but portable
@@ -16718,6 +16733,14 @@ $ @kbd{expr 00001 : '.*\(...\)'}
 1
 @end example
 
+On @acronym{HP-UX} 11, @command{expr} only supports a single
+sub-expression.
+
address@hidden
+$ @kbd{expr 'Xfoo' : 'X\(f\(oo\)*\)$'}
+expr: More than one '\(' was used.
address@hidden example
+
 
 @item @command{fgrep}
 @c ------------------


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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