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: Santiago <santiago <at> debian.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>, 758105 <at> bugs.debian.org
Cc: 18266 <at> debbugs.gnu.org, Vincent Lefevre <vincent <at> vinc17.net>
Subject: bug#18266: Bug#758105: bug#18266: Bug#758105: bug#18266: grep -P and invalid exits with error
Date: Sat, 16 Aug 2014 16:01:27 +0200
[Message part 1 (text/plain, inline)]
El 14/08/14 a las 14:33, Paul Eggert escribió:
> Vincent Lefevre wrote:
> >On input, using null bytes may be better if one wants to be able to
> >match real replacement characters without false positives.
> 
> Maybe, though this is no place to get fancy.  It's simple to tell users "an
> invalid byte acts like '?'".  Simple is good.
> 
> Anyway, this is a matter for the implementing volunteer to decide, whoever
> that happens to be.
> 

Workaround attached. It's too slow against binary files, but I haven't
found a simpler solution.

What do you think?

Santiago
[grep-pcresearch-clean-utf8-1.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

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.