This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bug: "grep -P" crash when grepping a file containing a byte 0xF5
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 18 Jan 2014 18:09:10 -0500
- Subject: Re: Bug: "grep -P" crash when grepping a file containing a byte 0xF5
- Authentication-results: sourceware.org; auth=none
- References: <52DAF3CA dot 2060307 at newsguy dot com>
- Reply-to: cygwin at cygwin dot com
On Sat, Jan 18, 2014 at 04:36:10PM -0500, Bill Meier wrote:
>Hi:
>
>I recently noticed that cygwin 'grep -P' crashes when grepping over a
>file which contains a byte 0xF5.
>
>
>
>$ od -t x1 tfx.txt
>0000000 f5
>0000001
>
>$ grep -P "a" tfx.txt
>Aborted (core dumped)
>
>$ grep -E "a" tfx.txt
>
>$
This seems to be fixed in the just-released version of grep soon making
its way to a mirror near you.
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple