bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep-2.5e: --color not working with -i


From: Alain Magloire
Subject: Re: grep-2.5e: --color not working with -i
Date: Fri, 23 Mar 2001 14:53:42 -0500 (EST)

> 
> There seems to be a problem with the new --color option of grep 2.5e.
> This option does not work together with the "-i" (ignore-case) option.
> 
> Example without -i: --color works correctly
> 
>   $ echo hello|grep --color hello|od -c
>   0000000 033   [   3   1   ;   5   m   h   e   l   l   o 033   [   0   0
>   0000020   m  \n
> 
> Example with -i: grep matches input correctly but does not hilite:
> 
>   $ echo HELLO|grep -i --color hello|od -c
>   0000000   H   E   L   L   O  \n
> 
> 
> Regards, Theo

Thanks, for the bug report.
It will be on my todo list.

--
alain




reply via email to

[Prev in Thread] Current Thread [Next in Thread]