Bug#575300: fgrep -i does not always match what grep matches (due to locales)

2010-03-25 Thread Aníbal Monsalve Salazar
On Wed, Mar 24, 2010 at 09:04:19PM +0100, David Madore wrote: Package: grep Version: 2.5.4-4 Whether this is a bug is perhaps debatable (because of the vagueness of specifications in the matter), and maybe needs to be discussed upstream, but the following behavior is extremely confusing at the

Bug#575300: fgrep -i does not always match what grep matches (due to locales)

2010-03-25 Thread Paolo Bonzini
Could someone please try to reproduce the bug above with grep 2.6. Fixed in grep git. $ for i in '' -i -F -Fi; do ./grep -q $i foobar /tmp/test ; echo $?; done 0 0 0 0 Paolo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble?

Bug#575300: fgrep -i does not always match what grep matches (due to locales)

2010-03-25 Thread David Madore
On Thu, Mar 25, 2010 at 06:37:03PM +1100, Aníbal Monsalve Salazar wrote: On Wed, Mar 24, 2010 at 09:04:19PM +0100, David Madore wrote: Whether this is a bug is perhaps debatable (because of the vagueness of specifications in the matter), and maybe needs to be discussed upstream, but the

Bug#575300: fgrep -i does not always match what grep matches (due to locales)

2010-03-24 Thread David Madore
Package: grep Version: 2.5.4-4 Whether this is a bug is perhaps debatable (because of the vagueness of specifications in the matter), and maybe needs to be discussed upstream, but the following behavior is extremely confusing at the very least: vega david ~ $ locale LANG= LC_CTYPE=en_US.UTF-8