Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
When a file ends with a '\r\n' grep will segfault when matching the perl regexp '\n'. The following code demonstrates it: echo -en '\015\012' >test grep -P '\n' test Solution: the attached patch, taken from upstream, solves the problem.
Created an attachment (id=60861) [edit] grep.diff
fixed in 2.5.1-r8, thanks
*** Bug 98935 has been marked as a duplicate of this bug. ***