delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/24/14:22:14

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 24 Nov 2009 14:21:54 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: grep --color=auto with -i option disables the matching text color
Message-ID: <20091124192154.GA7045@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <6dbd17a60911230751o68e4c6e6p47c9cc76c010be2b AT mail DOT gmail DOT com> <4B0BDB57 DOT 5040009 AT gmail DOT com> <d922b6650911240607n1e392e58nb8ebe7ccf57ddf63 AT mail DOT gmail DOT com> <20091124153930 DOT GB31706 AT ednor DOT casa DOT cgf DOT cx> <20091124162639 DOT GA3520 AT KCJs-Computer>
MIME-Version: 1.0
In-Reply-To: <20091124162639.GA3520@KCJs-Computer>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Tue, Nov 24, 2009 at 08:26:39AM -0800, Gary Johnson wrote:
>On 2009-11-24, Christopher Faylor wrote:
>> On Tue, Nov 24, 2009 at 03:07:12PM +0100, Morten Kj?rulff wrote:
>> >On Tue, Nov 24, 2009 at 2:10 PM, Dave Korn wrote:
>> >> ?Anyway, I can reproduce your problem (matching text colour disappears when
>> >> '-i') in a bash shell in cygwin 1.5, but it works just fine under 1.7; you
>> >> might want to try that.
>> >
>> >Found this:
>> >  http://savannah.gnu.org/bugs/?18666
>> >could be related (or the actual error?)
>> 
>> Cygwin 1.7 has a newer version of grep.  It was announced here:
>> 
>> http://cygwin.com/ml/cygwin-announce/2009-11/msg00004.html
>> 
>> I am not updating any 1.5 packages so this won't be fixed in Cygwin 1.5.
>> As Dave says, use Cygwin 1.7 if you want a fix for this.
>
>Actually, using Cygwin 1.7 isn't a fix for this, it's just a
>workaround if you happen to leave your locale set to 1.7's default
>of UTF-8.

Yes, I got that from Dave Korn's follow-on mail.  I didn't think there was
any need to comment further since he summarized the problem fairly well.

cgf

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019