From 9b692963b78835970c991ea76965df82548a7da3 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 10 Oct 2017 16:57:23 +0300 Subject: Doc fix and add some references. --- doc/gawktexi.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'doc/gawktexi.in') diff --git a/doc/gawktexi.in b/doc/gawktexi.in index 2d7bcd69..cbc28419 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -12278,6 +12278,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 @@ -21219,14 +21224,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 -- cgit v1.2.3