On Thu, Oct 22, 2009 at 8:40 PM, Dimitry Golubovsky
<[email protected]> wrote:
> Does there exist a  Plan9 version of egrep or grep that understands -E
> option like GNU grep does?

In Plan 9, all tools accept the same regular expression syntax,
and that syntax is the one used by the Unix egrep.

#!/bin/rc
if(~ $1 -E) shift
exec grep $*

Russ

Reply via email to