Comment 3 for bug 9231

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 06 Jan 2004 12:31:27 +0100
From: BertJan Bakker <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: grep: -i --color will not color matches when pattern contains uppercase

Package: grep
Version: 2.5.1.ds1-2
Severity: normal

When using the -i option of grep AND any character of the
pattern to match is uppercase, grep will correctly match
BUT will not color them correctly.

To reproduce, compare the output of the following two
commands:
echo 'spam foo SPAM FOO' | grep -i --color spam
echo 'spam foo SPAM FOO' | grep -i --color SPAM

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bertjan 2.6.0 #1 Fri Dec 19 13:58:19 CET 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages grep depends on:
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an

-- no debconf information