bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep : valid perl-regex causes segmentation fault


From: funkyworklehead
Subject: grep : valid perl-regex causes segmentation fault
Date: Wed, 13 Sep 2006 13:50:59 -0700 (PDT)

command

echo cmp | grep -c --perl-regex '^(|.*[\W])cmp([^\w].*|)$'

causes a segmentation fault on my machine.  I think that that is a valid
regular expression.  (it turns out that i really just want to do '\bcmp\b', but 
the regex should have worked.

grep -V
grep (GNU grep) 2.5

Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


- Ross    

                
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2ยข/min or less.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]