]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
doc: clarify sed buffer limit
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 5 Jan 2012 19:00:45 +0000 (11:00 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 5 Jan 2012 20:33:05 +0000 (12:33 -0800)
* doc/autoconf.texi (Limitations of Usual Tools):
That 4000-byte limit applies to output and internal buffers, too.

ChangeLog
doc/autoconf.texi

index 30312bee4ba5e101070700231efaedebc763ce22..238c09f68ece8f4bab001143e43f4f82eebb853e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-01-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       doc: clarify sed buffer limit
+       * doc/autoconf.texi (Limitations of Usual Tools):
+       That 4000-byte limit applies to output and internal buffers, too.
+
 2012-01-03  Paul Eggert  <eggert@cs.ucla.edu>
 
        maint: update copyright year
index 72ff7f895f8ec6b428e8aa4deaabda247522f53c..ea2419bcf4dcda8abd8eee6b1a1f2ed9daa29531 100644 (file)
@@ -19256,8 +19256,9 @@ $ @kbd{echo a | sed 's/x/x/;;s/x/x/'}
 sed: 1: "s/x/x/;;s/x/x/": invalid command code ;
 @end example
 
-Input should not have unreasonably long lines, since some @command{sed}
-implementations have an input buffer limited to 4000 bytes.  Likewise,
+Some @command{sed} implementations have a buffer limited to 4000 bytes,
+and this limits the size of input lines, output lines, and internal
+buffers that can be processed portably.  Likewise,
 not all @command{sed} implementations can handle embedded @code{NUL} or
 a missing trailing newline.