Summary: | sys-apps/grep-2.5.1a-r1 unexpected behavior when searching for ^[A-Z] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arrigo Marchiori <ardovm> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | jer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Arrigo Marchiori
2007-09-19 10:36:57 UTC
i'm pretty sure this is fixed in 2.5.3 already ... can you please test that (In reply to comment #1) Sorry for the silly question, but... how can I emerge that packet? In the ebuild file the KEYWORDS is set to "". If I try to emerge it, emerge says "missing keyword". If I try to patch the ebuild adding the keyword ~x86, then emerge says the file size or the MD5 is wrong... :-$ (In reply to comment #2) > Sorry for the silly question, but... how can I emerge that packet? echo "sys-apps/grep **" >> /etc/portage/package.keywords (In reply to comment #3) Thank you for the answer: I didn't know that "trick". :-) Too bad, the same problem appears with grep-2.5.3 :-( $ echo cacca | grep '^[A-Z]' ; echo $? cacca 0 $ grep --version GNU grep 2.5.3 Copyright (C) 1988, 1992-2002, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For your information, I've encountered the same problem in grep 2.5.1 on OpenSUSE 10.2 for x86-64 (I don't know about other architectures). Here's my bug report on Novell's bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=329992 seems to be fixed for me with grep-2.5.4: $ alias grep=grep $ echo cacca | grep ^[A-Z] ; echo $? 1 $ grep --version GNU grep 2.5.4 ... |