www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,HS_INDEX_PARAM,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 24 Nov 2009 08:26:39 -0800 |
From: | Gary Johnson <garyjohn AT spocom DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: grep --color=auto with -i option disables the matching text color |
Message-ID: | <20091124162639.GA3520@KCJs-Computer> |
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> |
Mime-Version: | 1.0 |
In-Reply-To: | <20091124153930.GB31706@ednor.casa.cgf.cx> |
User-Agent: | Mutt/1.4.2.2i |
X-IsSubscribed: | yes |
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 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. Grep 2.5.4 still exhibits the root problem if your locale is set to C. The patch referred to doesn't seem to address that problem. I don't think upgrading the grep package for 1.5 would fix the problem. Regards, Gary -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |