From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 22 Oct 2009 20:57:52 -0700 Message-ID: Subject: Re: [9fans] egrep in Plan9 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 8e1f2fa4-ead5-11e9-9d60-3106f5b1d025 On Thu, Oct 22, 2009 at 8:40 PM, Dimitry Golubovsky wrote: > Does there exist a =C2=A0Plan9 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