aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-09-08 07:17:41 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-09-08 07:17:41 +0300
commit9da96e570a835d6a0427c9182585af307d393f45 (patch)
tree6d6168954bca63042d2ee1f0a77cc614413f7535
parentf9fadc3b2bf0bf9d65a981a712aa9aebc21a699b (diff)
downloadegawk-9da96e570a835d6a0427c9182585af307d393f45.tar.gz
egawk-9da96e570a835d6a0427c9182585af307d393f45.tar.bz2
egawk-9da96e570a835d6a0427c9182585af307d393f45.zip
Minor doc edit.
-rw-r--r--doc/ChangeLog4
-rw-r--r--doc/gawk.texi10
-rw-r--r--doc/gawktexi.in10
3 files changed, 6 insertions, 18 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 7c3ddbe5..d1a41bae 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-08 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in: Remove text that won't get used.
+
2014-09-07 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: Minor cleanups.
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 223e90a1..177d8c89 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -21131,15 +21131,7 @@ function readfile(file, tmp, contents)
This function reads from @code{file} one record at a time, building
up the full contents of the file in the local variable @code{contents}.
-It works, but is not necessarily
-@c 8/2014. Thanks to BWK for pointing this out:
-efficient.
-@ignore
-@footnote{Execution time grows quadratically in the size of
-the input; for each record, @command{awk} has to allocate a bigger
-internal buffer for @code{contents}, copy the old contents into it,
-and then append the contents of the new record.}
-@end ignore
+It works, but is not necessarily efficient.
The following function, based on a suggestion by Denis Shirokov,
reads the entire contents of the named file in one shot:
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index af84994c..2af398c0 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -20258,15 +20258,7 @@ function readfile(file, tmp, contents)
This function reads from @code{file} one record at a time, building
up the full contents of the file in the local variable @code{contents}.
-It works, but is not necessarily
-@c 8/2014. Thanks to BWK for pointing this out:
-efficient.
-@ignore
-@footnote{Execution time grows quadratically in the size of
-the input; for each record, @command{awk} has to allocate a bigger
-internal buffer for @code{contents}, copy the old contents into it,
-and then append the contents of the new record.}
-@end ignore
+It works, but is not necessarily efficient.
The following function, based on a suggestion by Denis Shirokov,
reads the entire contents of the named file in one shot: