|
From: | Paolo Bonzini |
Subject: | [bug #12995] grep with --color and -i causes color match not to be displayed |
Date: | Tue, 22 Dec 2009 09:11:01 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20091216 Fedora/3.5.6-1.fc12 Firefox/3.5.6 |
Follow-up Comment #7, bug #12995 (project grep): More testcases from bug 18666: The following commands all colour the a's and A's in their output: LC_ALL=en_GB.utf8 grep --color -i a file LC_ALL=en_GB.utf8 grep --color -i A file LC_ALL=en_GB grep --color -i a file LC_ALL=C grep --color -i a file But these two commands do not: LC_ALL=en_GB grep --color -i A file LC_ALL=C grep --color -i A file The combination of option -i with an uppercase letter in the search pattern and a non-UTF8 locale makes colourisation fail. (That is: with grep from CVS. With grep-2.5.1 it works fine.) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?12995> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |