On Tue, Mar 10, 2009 at 02:40:32PM +0000, Eric Blake wrote:
> Most likely, this is due to your choice of locales, and not a bug
> in sort nor in ls.
> 
> http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021
> http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-ls-command-is-not-listing-files-in-a-normal-order_0021

Apparently it's LANG that sets the locale: no LC_* variables were set. 

getafix:~/test-ls> echo $LANG
en_US.UTF-8
getafix:~/test-ls> ls
A  b  C  d  E  f  G  h  I  j  K  
getafix:~/test-ls> unsetenv LANG
getafix:~/test-ls> ls
A  C  E  G  I  K  b  d  f  h  j  
getafix:~/test-ls> 


Thanks!

        Roger. 


-- 
** [email protected] ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement. 
Does it sit on the couch all day? Is it unemployed? Please be specific! 
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to