bug#24961: input option -z alters behavior of output option -o in an undocumented way

2016-12-10 Thread vampyrebat
On 11/20/16, Paul Eggert wrote: > The man page says that -z is about "input and output data", The man page that ships with grep 2.25 says about -z, in its entirety: Treat the input as a set of lines, each terminated by a zero byte (the ASCII NUL character) instead of a newline. Like t

bug#22357: grep -f not only huge memory usage, but also huge time cost

2016-12-10 Thread Norihiro Tanaka
On Fri, 9 Dec 2016 01:24:19 -0600 Trevor Cordes wrote: > I bisected this bug to commits: > 662b19f2d0edc0bf07f1a2c1421080252df4a37c > 468d5217ed6ec1679512dec208c7f30fb8612957 > (can't narrow it down because the latter doesn't compile for me) The changes switch used algorithm. They convert grep