grep -i --color does not always color

Andy Koppe andy.koppe@gmail.com
Thu Oct 22 10:52:00 GMT 2009


2009/10/22 Morten Kjærulff:
> Is this an error, or have I misunderstod something?
>
> /morten
>
> $ echo ABCabc|grep --color=auto B
> ABCabc <<< B is red
>
> $ echo ABCabc|grep --color=auto b
> ABCabc <<< b is red
>
> $ echo ABCabc|grep -i --color=auto b
> ABCabc <<< B and b is red
>
> $ echo ABCabc|grep -i --color=auto B
> ABCabc <<< nothing is red ???

Whatever caused this has been fixed on Cygwin 1.7, where it's working fine.

And

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list