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: Subject: grep -i --color does not always color From: =?ISO-8859-1?Q?Morten_Kj=E6rulff?= To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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