* doc/autoconf.texi (Limitations of Usual Tools) <find>: More about

`{}'.
* lib/autotest/general.m4 (AT_INIT): Adjust.
This commit is contained in:
Akim Demaille 2001-09-18 14:21:51 +00:00
parent bfa90014d7
commit 8ef39f1b94
3 changed files with 31 additions and 8 deletions

View File

@ -1,3 +1,9 @@
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 '///'

View File

@ -8886,6 +8886,19 @@ set to @command{expr} or to @command{false} according to the result.
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 -----------------

View File

@ -378,20 +378,24 @@ AS_BOX(m4_defn([AT_TESTSUITE_NAME]))
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.