+2001-09-18 Akim Demaille <akim@epita.fr>
+
+ * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
+ `{}'.
+ * lib/autotest/general.m4 (AT_INIT): Adjust.
+
2001-09-18 Paul Wagland <paul@wagland.net>
* tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
The option @option{-maxdepth} seems to be GNU specific. Tru64 v5.1,
NetBSD 1.5 and Solaris 2.5 @command{find} commands do not understand it.
+The replacement of @samp{@{@}} is guaranteed only if the argument is
+exactly @emph{@{@}}, not if it's only a part of an argument. For
+instance on DU, and HP-UX 10.20 and HP-UX 11:
+
+@example
+$ touch foo
+$ find . -name foo -exec echo "@{@}-@{@}" \;
+@{@}-@{@}
+@end example
+
+@noindent
+while @sc{gnu} @command{find} reports @samp{./foo-./foo}.
+
@item @command{grep}
@c -----------------
if test -n "$top_srcdir"; then
AS_BOX([ChangeLogs.])
echo
- find "$top_srcdir" -name ChangeLog \
- -exec echo "$as_me: {}:" ';' \
- -exec sed 's/^/| /;10q' {} ';' \
- -exec echo ';'
+ for at_file in `find "$top_srcdir" -name ChangeLog -print`
+ do
+ echo "$as_me: $at_file:"
+ sed 's/^/| /;10q' $at_file
+ echo
+ done
AS_UNAME
echo
AS_BOX([Configuration logs.])
echo
- find "$top_srcdir" -name config.log \
- -exec echo "$as_me: {}:" ';' \
- -exec sed 's/^/| /' {} ';' \
- -exec echo ';'
+ for at_file in `find "$top_srcdir" -name config.log -print`
+ do
+ echo "$as_me: $at_file:"
+ sed 's/^/| /;10q' $at_file
+ echo
+ done
fi
# Inform about the contents of the config files.