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.65-91-g


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.65-91-gf08d6f4
Date: Fri, 18 Jun 2010 15:13:19 +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=f08d6f4f9f35c08cf7c0dee2f90b1bb2c0fb809e

The branch, master has been updated
       via  f08d6f4f9f35c08cf7c0dee2f90b1bb2c0fb809e (commit)
      from  eace0e6fec4e87e9fc0e931ee191734c6cafb9c5 (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 f08d6f4f9f35c08cf7c0dee2f90b1bb2c0fb809e
Author: Bruno Haible <address@hidden>
Date:   Fri Jun 18 09:05:29 2010 -0600

    Document sed -e limitation.
    
    * doc/autoconf.texi (Limitations of Usual Tools): Mention portability
    problem of sed -e option with script fragments.
    
    Signed-off-by: Eric Blake <address@hidden>

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

Summary of changes:
 ChangeLog         |    6 ++++++
 doc/autoconf.texi |   16 ++++++++++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6e37499..52a7bb1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-18  Bruno Haible  <address@hidden>
+
+       Document sed -e limitation.
+       * doc/autoconf.texi (Limitations of Usual Tools): Mention portability
+       problem of sed -e option with script fragments.
+
 2010-06-17  Ralf Wildenhues  <address@hidden>
 
        Document, test, and fix AT_ARG_OPTION, AT_ARG_OPTION_ARG.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index f6eb362..eba61f4 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -18237,6 +18237,22 @@ but Posix says that this use of a semicolon has 
undefined effect if
 should use semicolon only with simple scripts that do not use these
 verbs.
 
+The argument of the @option{-e} option must be a syntactically complete
+script.  GNU @command{sed} allows to pass multiple script fragments,
+each as argument of a separate @option{-e} option, that are then combined,
+with newlines between the fragments.  A future Posix revision may allow
+this as well.  But in Posix:2008, this is not allowed, and the
address@hidden programs on Solaris 10, HP-UX 11, and AIX don't allow it
+either:
+
address@hidden
+$ @kbd{echo a | sed -n -e 'i\}
address@hidden'}
+0
+$ @kbd{echo a | sed -n -e 'i\' -e 0}
+Unrecognized command: 0
address@hidden example
+
 Commands inside @{ @} brackets are further restricted.  Posix says that
 they cannot be preceded by addresses, @samp{!}, or @samp{;}, and that
 each command must be followed immediately by a newline, without any


hooks/post-receive
-- 
GNU Autoconf source repository



reply via email to

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