On 12/13/2010 06:39 PM, Eric Blake wrote:
If
this is a case of causing grep to recurse deeper than the stack bounds
allow, it may be possible to teach grep how to recognize stack overflow
and exit with a more graceful error than a segfault, by using the gnulib
c-stack module.

Yes, that's a possibility. Also, can you tell us your version of grep? Using \n in "grep -P" worked by chance and has been fixed in the latest versions.

Paolo

Reply via email to