]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
authorAkim Demaille <akim@epita.fr>
Thu, 25 Apr 2002 09:14:39 +0000 (09:14 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 25 Apr 2002 09:14:39 +0000 (09:14 +0000)
Thanks to Paul Eggert.

ChangeLog
doc/autoconf.texi

index 3c38e99e49808e018d33be282b6b55298ac52279..0aacf508747282fdc830285da057068703dd5b96 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-25  Akim Demaille  <akim@epita.fr>
+
+       * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
+       Thanks to Paul Eggert.
+
 2002-04-25  Akim Demaille  <akim@epita.fr>
 
        * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
index 0ed6ad1847eb2f1ffae2118496e32c719566026f..d0ab36ac4e287186ca6a67e92455e1f707cdce9d 100644 (file)
@@ -9885,6 +9885,18 @@ matched''.  All descendants of Bell Lab's V7 @command{sed} (at least; we
 don't have first hand experience with older @command{sed}s) have
 supported it.
 
+@sc{posix} requires that you must not have any white space between
+@samp{!}  and the following command.  It is OK to have blanks between
+the address and the @samp{!}.  For instance, on Solaris 8:
+
+@example
+$ @kbd{echo "foo" | sed -n '/bar/ ! p'}
+@error{}Unrecognized command: /bar/ ! p
+$ @kbd{echo "foo" | sed -n '/bar/! p'}
+@error{}Unrecognized command: /bar/! p
+$ @kbd{echo "foo" | sed -n '/bar/ !p'}
+foo
+@end example
 
 @item @command{sed} (@samp{t})
 @c ---------------------------