Package: findutils
Version: 4.2.27-3
Severity: normal
Tags: l10n

I am not sure if it is an indented feature or a bug, but for me it
looks like a real problem.
The result of a search using find depends of the locale.

Let's take an example: I want to search the current directory for every
file that don't end with .mp3

___

$ LC_ALL=C find ./ \( ! -name "*.mp3" \) | wc -l
504

$ LC_ALL=fr_FR.UTF-8 find ./ \( ! -name "*.mp3" \) | wc -l
513
___

As we can see, the results are different For me, the behaviour is
incorrect. The result of a search must be the same, whatever the locale
is.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686-smp
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=UTF-8) (ignored: LC_ALL set to 
fr_FR.UTF-8)

Versions of packages findutils depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries

findutils recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to