[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep-2.5.1: `grep -w --color A' can highlight non-word use of `A'
From: |
Felipe Kellermann |
Subject: |
Re: grep-2.5.1: `grep -w --color A' can highlight non-word use of `A' |
Date: |
Tue, 3 Feb 2004 18:38:50 -0200 (BRST) |
On Tue, 3 Feb 2004 6:54pm +0100, Jim Meyering wrote:
> But with grep-2.5.1, both are highlighted. E.g.,
>
> $ echo a cat |/bin/grep --color=always -w a|cat -A
> ^[[01;31ma^[[00m c^[[01;31ma^[[00mt$
>
I have the same result with grep-2.5,
$ grep --version|head -1
grep (GNU grep) 2.5
$ echo a cat|grep --color=always -w a|cat -A
^[[1ma^[[00m c^[[1ma^[[00mt$
--
Felipe Kellermann