Public bug reported:
Binary package hint: grep
I get:
$ echo -e "aBc\naBC" | grep "aB[a-z]"
aBc
aBC
where the first line of output is colored red, but the second line
isn't. This seems wrong. Either aBC is matched, in which case it should
be colored, or it isn't matched, in which case it shouldn't be printed
at all.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: grep 2.6.3-3
ProcVersionSignature: Ubuntu 2.6.35-27.48-generic 2.6.35.11
Uname: Linux 2.6.35-27-generic x86_64
Architecture: amd64
Date: Fri Mar 18 11:46:06 2011
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: grep
** Affects: grep (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug maverick
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/737481
Title:
grep --color prints line but doesn't color it
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs