summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2016-10-11 16:40:09 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2016-10-11 16:40:09 +0000
commit9d50d884a602b7d13578f60b792f8b4eb721a688 (patch)
treebca5a76682d97065c9e555481182f95af4578ea8 /README
parent64cda2113e422dba36de0699bf2a3a6a393b3eae (diff)
downloadpcre2-9d50d884a602b7d13578f60b792f8b4eb721a688.tar.gz
Implement buffer expansion in pcre2grep.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@563 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'README')
-rw-r--r--README18
1 files changed, 14 insertions, 4 deletions
diff --git a/README b/README
index 03d67f6..4264772 100644
--- a/README
+++ b/README
@@ -339,12 +339,22 @@ library. They are also documented in the pcre2build man page.
Of course, the relevant libraries must be installed on your system.
-. The default size (in bytes) of the internal buffer used by pcre2grep can be
- set by, for example:
+. The default starting size (in bytes) of the internal buffer used by pcre2grep
+ can be set by, for example:
--with-pcre2grep-bufsize=51200
- The value must be a plain integer. The default is 20480.
+ The value must be a plain integer. The default is 20480. The amount of memory
+ used by pcre2grep is actually three times this number, to allow for "before"
+ and "after" lines.
+
+. The default maximum size of pcre2grep's internal buffer can be set by, for
+ example:
+
+ --with-pcre2grep-max-bufsize=2097152
+
+ The default is either 1048576 or the value of --with-pcre2grep-bufsize,
+ whichever is the larger.
. It is possible to compile pcre2test so that it links with the libreadline
or libedit libraries, by specifying, respectively,
@@ -845,4 +855,4 @@ The distribution should contain the files listed below.
Philip Hazel
Email local part: ph10
Email domain: cam.ac.uk
-Last updated: 01 April 2016
+Last updated: 07 October 2016