grep crashes when used with perl option (-P)
Issue
- grep crashes when the text contains incompatible UTF-8 characters
# grep -P abc test.txt
Aborted (core dumped)
Environment
- Red Hat Enterprise Linux 6.6
- grep-2.6.3-6.el6.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.