GNU bug report logs - #18266
grep -P and invalid exits with error

Previous Next

Package: grep;

Reported by: Santiago <santiago <at> debian.org>

Date: Thu, 14 Aug 2014 15:43:02 UTC

Severity: wishlist

Merged with 18455

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Vincent Lefevre <vincent <at> vinc17.net>
Cc: 18266 <at> debbugs.gnu.org, 758105 <at> bugs.debian.org
Subject: bug#18266: handling bytes not part of the charset, and other garbage
Date: Sun, 14 Sep 2014 22:32:28 -0700
[Message part 1 (text/plain, inline)]
Attached are some proposed patches which should improve the performance 
of grep -P when applied to binary files, among other things.  I have 
some other ideas for boosting performance further but thought I'd 
publish these first.  Please give them a try if you have the time.  I 
doubt whether this will "solve" the performance problem entirely with -P 
and encoding errors but at least it should be heading in the right 
direction.
[0001-grep-remove-refactor-unnecessary-code-about-line-spl.patch (text/plain, attachment)]
[0002-grep-speed-up-P-on-files-containing-many-multibyte-e.patch (text/plain, attachment)]
[0003-grep-use-bool-for-boolean-in-grep.c.patch (text/plain, attachment)]
[0004-grep-treat-a-file-as-binary-if-its-prefix-contains-e.patch (text/plain, attachment)]
[0005-grep-improve-performance-for-older-glibc.patch (text/plain, attachment)]
[0006-grep-use-mbclen-cache-more-effectively.patch (text/plain, attachment)]

This bug report was last modified 10 years and 248 days ago.

Previous Next


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