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

On 11 October 2011 17:42, Richard Jones <[email protected]> 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
> [email protected]
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>

_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to