aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-10-10 16:57:23 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-10-10 16:57:23 +0300
commit9b692963b78835970c991ea76965df82548a7da3 (patch)
tree5d4b6adab082cf3f63c1ae695d702b2174cfeab6 /doc/gawktexi.in
parent5ab1fc39705ac50abc1b2e756d97d875b9f9709a (diff)
downloadegawk-9b692963b78835970c991ea76965df82548a7da3.tar.gz
egawk-9b692963b78835970c991ea76965df82548a7da3.tar.bz2
egawk-9b692963b78835970c991ea76965df82548a7da3.zip
Doc fix and add some references.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in13
1 files changed, 9 insertions, 4 deletions
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