delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/22/06:52:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <d922b6650910220327m2fda0b9fh38d86007f4447f6@mail.gmail.com>
References: <d922b6650910220327m2fda0b9fh38d86007f4447f6 AT mail DOT gmail DOT com>
Date: Thu, 22 Oct 2009 11:52:03 +0100
Message-ID: <416096c60910220352g7a1c7e08v5d21d7c85b356ed2@mail.gmail.com>
Subject: Re: grep -i --color does not always color
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
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

2009/10/22 Morten Kj=C3=A6rulff:
> Is this an error, or have I misunderstod something?
>
> /morten
>
> $ echo ABCabc|grep --color=3Dauto B
> ABCabc <<< B is red
>
> $ echo ABCabc|grep --color=3Dauto b
> ABCabc <<< b is red
>
> $ echo ABCabc|grep -i --color=3Dauto b
> ABCabc <<< B and b is red
>
> $ echo ABCabc|grep -i --color=3Dauto 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

- Raw text -


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