[OpenIndiana-discuss] OI and GNU grep

Jonathan Adams t12nslookup at gmail.com
Tue Oct 11 16:48:01 UTC 2011


jadams at jadlaptop:~$ set | grep -i grep
jadams at jadlaptop:~$ which grep
/usr/bin/grep
jadams at jadlaptop:~$ echo foo | grep '[A-Z]'
jadams at jadlaptop:~$ echo $PATH
/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/opt/tools/bin:/usr/gnu/bin
jadams at jadlaptop:~$

On 11 October 2011 17:42, Richard Jones <openindiana-discuss at jonze.com> wrote:
> I'm probably being really thick, but what's going on here?
>
>   set | grep -i grep
>   $ which grep
>   /usr/gnu/bin/grep
>   $ echo foo | grep '[A-Z]'
>   foo
>
> I get the expected behaviour on linux boxes with GNU grep.
>
> Thanks,
>
> Richard
>
> --
> Richard Jones                 +44 7843 588 599
>   "Quod gratis asseritur, gratis negatur"
> Privacy notice:         jonze.com/privacy.html
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



More information about the OpenIndiana-discuss mailing list