* doc/autoconf.texi (Limitations of Usual Tools): Mention
restrictions when using back-references.
Reported by Vincent Lefevre:
<http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13013>.
Signed-off-by: Eric Blake <ebb9@byu.net>
2008-03-26 Eric Blake <ebb9@byu.net>
+ Document busybox sed bug.
+ * doc/autoconf.texi (Limitations of Usual Tools): Mention
+ restrictions when using back-references.
+ Reported by Vincent Lefevre:
+ <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13013>.
+
Document Automake interaction with AC_CONFIG_MACRO_DIR.
* doc/autoconf.texi (Input): Mention ACLOCAL_AMFLAGS for automake
users.
indented
@end example
+Posix requires that with an empty regular expression, the last non-empty
+regular expression from either an address specification or substitution
+command is applied. However, busybox 1.6.1 complains when using a
+substitution command with a replacement containing a back-reference to
+an empty regular expression; the workaround is repeating the regular
+expression.
+
+@example
+@kbd {echo abc | busybox sed '/a\(b\)c/ s//\1/'}
+sed: No previous regexp.
+@kbd {echo abc | busybox sed '/a\(b\)c/ s/a\(b\)c/\1/'}
+b
+@end example
+
@item @command{sed} (@samp{t})
@c ---------------------------