[pcre-dev] [Bug 1130] pcregrep doesn't copy entire lines to …

Kezdőlap
Üzenet törlése
Szerző: Philip Hazel
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 1130] pcregrep doesn't copy entire lines to output when they are long ( > 25000 chars)
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1130




--- Comment #3 from Philip Hazel <ph10@???> 2011-07-31 17:00:19 ---
On Sun, 31 Jul 2011, Peter Valdmar Mørch wrote:

> It is a little non-obvious that there is a factor 3 relationship between
> --buffer-size and line length, but now at least I know! :-)


It is only a factor of 3 for the first line in a file. If you have short
lines followed by a long line, the long line might start in the middle
third of the buffer, so you can really only guarantee the --buffer-size
value.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email