[SCM] GNU Autoconf source repository branch, master, updated. v2.64-30-g9c16f1a

"Ralf Wildenhues" <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.cvs
Message-ID <[email protected]>
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=9c16f1a80d38800d400403a78f322b74c09c827d

The branch, master has been updated
       via  9c16f1a80d38800d400403a78f322b74c09c827d (commit)
      from  672e09142ccdd783838e7d89fb8e7d5ee270cca6 (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 9c16f1a80d38800d400403a78f322b74c09c827d
Author: Ralf Wildenhues <[email protected]>
Date:   Thu Sep 10 06:56:45 2009 +0200

    Document sed limitation with escaped metacharacters.
    
    * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Use `%'
    rather than `/' as delimiter in an example `s' command.
    Document inconsistent treatment of escaped metacharacters.
    * THANKS: Update.
    Report by Dave Korn, with additional input from Paolo Bonzini
    and Eric Blake.
    
    Signed-off-by: Ralf Wildenhues <[email protected]>

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

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

diff --git a/ChangeLog b/ChangeLog
index 9079a0e..80f5609 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-09-10  Ralf Wildenhues  <[email protected]>
 
+	Document sed limitation with escaped metacharacters.
+	* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Use `%'
+	rather than `/' as delimiter in an example `s' command.
+	Document inconsistent treatment of escaped metacharacters.
+	* THANKS: Update.
+	Report by Dave Korn, with additional input from Paolo Bonzini
+	and Eric Blake.
+
 	Document temporary directory `$tmp' for use in config.status.
 	* doc/autoconf.texi (Configuration Actions): Document `$tmp'.
 	* NEWS: Update.
diff --git a/THANKS b/THANKS
index 460e680..0901d6a 100644
--- a/THANKS
+++ b/THANKS
@@ -86,6 +86,7 @@ Daniel Reed                 ?
 Daniele Arena               [email protected]
 Dave Adams                  [email protected]
 Dave Erickson               [email protected]
+Dave Korn                   [email protected]
 Dave Love                   [email protected]
 David Byron                 [email protected]
 David Carter                [email protected]
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 320ef23..82a9f2a 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -17511,7 +17511,11 @@ directory.
 @prindex @command{sed}
 Patterns should not include the separator (unless escaped), even as part
 of a character class.  In conformance with Posix, the Cray
-@command{sed} rejects @samp{s/[^/]*$//}: use @samp{s,[^/]*$,,}.
+@command{sed} rejects @samp{s/[^/]*$//}: use @samp{s%[^/]*$%%}.
+Even when escaped, patterns should not include separators that are also
+used as @command{sed} metacharacters.  For example, GNU sed 4.0.9 rejects
+@samp{s,x\@{1\,\@},,}, while sed 4.1 strips the backslash before the comma
+before evaluating the basic regular expression.
 
 Avoid empty patterns within parentheses (i.e., @samp{\(\)}).  Posix does
 not require support for empty patterns, and Unicos 9 @command{sed} rejects


hooks/post-receive
-- 
GNU Autoconf source repository
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.