GNU bug report logs - #33249
[PATCH] grep: grouping of patterns including back reference

Previous Next

Package: grep;

Reported by: Norihiro Tanaka <noritnk <at> kcn.ne.jp>

Date: Sat, 3 Nov 2018 11:43:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 33249 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
Cc: 33249 <at> debbugs.gnu.org
Subject: Re: bug#33249: [PATCH] grep: grouping of patterns including back
 reference
Date: Sat, 3 Nov 2018 21:02:19 -0700
Norihiro Tanaka wrote:
> Even the pattern has no back-references, compilation by regex run for
> each line.  So Syntax errors will be detected as even your present.

OK, but then I'm afraid I don't understand the motivation for the patch. Perhaps 
if you gave a self-contained example? The examples in the original bug report 
are incomplete because they're missing the pattern file; when I tried the first 
one I observed this:

$ yes 00000000000000000000000000000000000000000x | head -10 >in
$ time -p env LC_ALL=C grep -f pat in
grep: pat: No such file or directory
real 0.00
user 0.00
sys 0.00




This bug report was last modified 5 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.