aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 768570be..bb5aee3c 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -12959,6 +12959,11 @@ As of @value{PVERSION} 4.2, @command{gawk} continues to use locale
collating order for @code{<}, @code{<=}, @code{>}, and @code{>=} only
in POSIX mode.
+@ignore
+References: http://austingroupbugs.net/view.php?id=963
+and http://austingroupbugs.net/view.php?id=1070.
+@end ignore
+
@node Boolean Ops
@subsection Boolean Expressions
@cindex and Boolean-logic operator
@@ -22175,14 +22180,14 @@ in memory as a single string. A straightforward but naive way to
do that might be as follows:
@example
-function readfile(file, tmp, contents)
+function readfile1(file, tmp, contents)
@{
if ((getline tmp < file) < 0)
return
- contents = tmp
- while (getline tmp < file) > 0)
- contents = contents RT tmp
+ contents = tmp RT
+ while ((getline tmp < file) > 0)
+ contents = contents tmp RT
close(file)
return contents