Date: Wed, 18 Jun 2008 08:23:47 +0300 From: Jaakko Heinonen <jh@saunalahti.fi> To: Gabor Kovesdan <gabor@FreeBSD.org> Cc: Doug Barton <dougb@FreeBSD.org>, current@FreeBSD.org, Diomidis Spinellis <dds@aueb.gr>, hackers@FreeBSD.org, "Sean C. Farley" <scf@FreeBSD.org>, Max Khon <fjoe@samodelkin.net> Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] Message-ID: <20080618052347.GA1877@a91-153-120-204.elisa-laajakaista.fi> In-Reply-To: <485807CD.1030601@FreeBSD.org> References: <485453F2.60507@FreeBSD.org> <4854BC29.3060507@FreeBSD.org> <485807CD.1030601@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080618052347.GA1877>