[SCM] GNU Autoconf source repository branch, master, updated. v2.67-50-g10adce6
"Eric Blake" <[email protected]> Wed, 08 Sep 2010 14:36:09 +0000
| Newsgroups | gmane.comp.sysutils.autoconf.cvs |
|---|---|
| Message-ID | <[email protected]> |
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=10adce65fefd5bbb8614b3fa890b6e68d651163a
The branch, master has been updated
via 10adce65fefd5bbb8614b3fa890b6e68d651163a (commit)
from 4416ea8d259ded79b03877ad41b2ec23b10e3f70 (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 10adce65fefd5bbb8614b3fa890b6e68d651163a
Author: Eric Blake <[email protected]>
Date: Tue Sep 7 15:51:47 2010 -0600
docs: mention traditional awk limitation
* doc/autoconf.texi (Limitations of Usual Tools) <awk>: Mention
that traditional awk lacks ENVIRON. Add reference to awk manual.
(Particular Programs) <AC_PROG_AWK>: Add reference to awk section.
Reported by Ralf Wildenhues.
Signed-off-by: Eric Blake <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
doc/autoconf.texi | 10 ++++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 73be221..77d513c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-09-08 Eric Blake <[email protected]>
+
+ docs: mention traditional awk limitation
+ * doc/autoconf.texi (Limitations of Usual Tools) <awk>: Mention
+ that traditional awk lacks ENVIRON. Add reference to awk manual.
+ (Particular Programs) <AC_PROG_AWK>: Add reference to awk section.
+ Reported by Ralf Wildenhues.
+
2010-09-07 Eric Blake <[email protected]>
docs: mention bash vs. POSIXLY_CORRECT
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 15639d9..24c6e14 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -3915,6 +3915,9 @@ order, and set output variable @code{AWK} to the first one that is found.
It tries @code{gawk} first because that is reported to be the
best implementation. The result can be overridden by setting the
variable @code{AWK} or the cache variable @code{ac_cv_prog_AWK}.
+
+Using this macro is sufficient to avoid the pitfalls of traditional
+@command{awk} (@pxref{awk, , Limitations of Usual Tools}).
@end defmac
@defmac AC_PROG_GREP
@@ -17732,6 +17735,7 @@ include some limitations you should be aware of.
@c This table includes things like `@command{expr} (|)', so we can't
@c use @table @command.
@table @asis
+@anchor{awk}
@item @command{awk}
@c ----------------
@prindex @command{awk}
@@ -17828,7 +17832,8 @@ Solaris @command{/bin/awk}, have many limitations and do not
conform to Posix. Nowadays @code{AC_PROG_AWK} (@pxref{Particular
Programs}) finds you an Awk that doesn't have these problems, but if
for some reason you prefer not to use @code{AC_PROG_AWK} you may need to
-address them.
+address them. For more detailed descriptions, see @ref{Language
+History, , @command{awk} language history, gawk, GNU Awk User's Guide}.
Traditional Awk does not support multidimensional arrays or user-defined
functions.
@@ -17845,7 +17850,8 @@ Traditional Awk does not support the expressions
@code{@var{a}?@var{b}:@var{c}}, @code{!@var{a}}, @code{@var{a}^@var{b}},
or @code{@var{a}^=@var{b}}.
-Traditional Awk does not support the predefined @code{CONVFMT} variable.
+Traditional Awk does not support the predefined @code{CONVFMT} or
+@code{ENVIRON} variables.
Traditional Awk supports only the predefined functions @code{exp}, @code{index},
@code{int}, @code{length}, @code{log}, @code{split}, @code{sprintf},
hooks/post-receive
--
GNU Autoconf source repository