tag 37177 notabug thanks On 8/24/19 6:15 PM, Xavier Sanchez wrote: > Linux snake 5.2.0-2-amd64 #1 SMP Debian 5.2.9-2 (2019-08-21) x86_64 GNU/Linux > coreutils: 8.30-3+b1 on Debian 10 >
> More explicit example: > > Coreutils's 8.30-3+b1: find . | sort > . > ./files > ./files/$-e > ./files/ascii1 Most likely, your problem is not a bug in sort, but a difference in locales. A common scenario is that people are surprised to learn that the en_US.UTF-8 locale sorts case-insensitively while ignoring punctuation, rather than in ASCII order. Run 'find . | sort --debug' for more information, as well as 'find . | LC_ALL=C sort --debug' to see the difference the locale makes. Assuming that you are repeating the same non-bug of locale differences as has been frequently reported by others, I'm marking this as not a bug. But we can reopen it if your further investigations find something other than your locale affecting things. It may also be that busybox sort does not properly honor locale variables as required by POSIX, but that would be a problem in busybox, and not something we can fix here. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature