Bob Proulx <b...@proulx.com> writes: >> *** WARNING *** The locale specified by the environment affects >> sort order. Set LC_ALL=C to get the traditional sort order that >> uses native byte values. >> >> It would be good if ls(1) carried similar paragraph. > > I am sure that the ls documentation would benefit from having it. > > The problem is that system locale sorting is very global and affects > almost every command on the system. > > $ echo * > > So when a system configuration affects *everything* does that mean > that /everything/ must document it?
I think the most typical command would benefit from having the notice: ls(1) sort(1) bash(1) [Yes, that echo is surprising] Having the LC_* information mentioned in all of these three would probably cover the most questions about the file listing order. At least those are the typical "problem pages" to consult when something isn't what one might expect to see; while it would be logical from the command's perspective. I've submitted feature request to coreutils bug address concerning the ls(1), and I'll do the same for Bash the hope that the documenation could be tuned a little for people to notice the effect LC_* variables. Jari -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org