delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.5 required=5.0 tests=AWL,BAYES_00,SARE_BAYES_6x6,SARE_BAYES_7x6,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Thu, 22 Oct 2009 12:27:27 +0200 |
Message-ID: | <d922b6650910220327m2fda0b9fh38d86007f4447f6@mail.gmail.com> |
Subject: | grep -i --color does not always color |
From: | =?ISO-8859-1?Q?Morten_Kj=E6rulff?= <mortenkjarulff 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-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 |
Hi, 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 ??? $ echo ABCabc|grep -i --color=always b|od 0000000 015501 030133 035461 030463 015555 045533 015502 066533 0000020 055433 041513 015541 030133 035461 030463 015555 045533 0000040 015542 066533 055433 061513 000012 0000051 $ echo ABCabc|grep -i --color=always B|od 0000000 041101 060503 061542 000012 0000007 -- 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 |