On 2008-06-17, Gabor Kovesdan wrote:
> > egrep: empty (sub)expression
> >
> I've looked at this and I have a patch with a workaround: 
> http://kovesdan.org/patches/grep.dougb.diff

Unfortunately this breaks things. For example:

$ grep -E '(test||test)' /dev/null
grep: parentheses not balanced
$ grep -E '(test|\|)' /dev/null
grep: parentheses not balanced
$ grep -E '\(|test)' /dev/null
(should give an error but it hangs)

-- 
Jaakko
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to