[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #12995] grep with --color and -i causes color match not to be displ
From: |
boud indymedia |
Subject: |
[bug #12995] grep with --color and -i causes color match not to be displayed |
Date: |
Sun, 14 Jan 2007 02:13:18 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.7.10) Gecko/20061113 Firefox/1.0.4 (1.0.4) |
Follow-up Comment #4, bug #12995 (project grep):
i agree that the -io bug is fixed in the debian unstable version and in the
cvs version. :)
DEBIAN-UNSTABLE:
grep (2.5.1.ds2-6) unstable
unstable$ locale
LANG=pl_PL.ISO-8859-2
LANGUAGE=en_PL:en_US:en_GB:en
LC_CTYPE="pl_PL.ISO-8859-2"
LC_NUMERIC="pl_PL.ISO-8859-2"
LC_TIME="pl_PL.ISO-8859-2"
LC_COLLATE="pl_PL.ISO-8859-2"
LC_MONETARY="pl_PL.ISO-8859-2"
LC_MESSAGES="pl_PL.ISO-8859-2"
LC_PAPER="pl_PL.ISO-8859-2"
LC_NAME="pl_PL.ISO-8859-2"
LC_ADDRESS="pl_PL.ISO-8859-2"
LC_TELEPHONE="pl_PL.ISO-8859-2"
LC_MEASUREMENT="pl_PL.ISO-8859-2"
LC_IDENTIFICATION="pl_PL.ISO-8859-2"
LC_ALL=pl_PL.ISO-8859-2
unstable$ echo "a A a A" | grep -o a
a
a
unstable$ echo "a A a A" | grep -io a
a
A
a
A
unstable$ echo "a A a A" | grep -o "[aA]"
a
A
a
A
unstable$ echo "a A a A" | LC_ALL="en_US.utf8" grep -io a
a
A
a
A
CVS version: compiled from CVS and installed in $HOME.
unstable$ echo "a A a A" | ~/bin/grep -o a
a
a
unstable$ echo "a A a A" | ~/bin/grep -io a
a
A
a
A
unstable$ echo "a A a A" | ~/bin/grep -o "[aA]"
a
A
a
A
unstable$ echo "a A a A" | LC_ALL="en_US.utf8" ~/bin/grep -io a
a
A
a
A
Great to see the fast and accurate response - it's what i expect from GNU.
:)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?12995>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/