[EMAIL PROTECTED] writes:

> Thank you very much to Brian Ripley, Roger Peng, and Andy Liaw. Everyone 
> pointed out the same solution.
> Setting
> LC_COLLATE=C
> did it. This default setting is indeed odd to me.

It's odd to everyone, except perhaps to the POSIX locale mafia... Once
upon a time all dotfile sorted to the top of but nowadays "LANG=da_DK
ls -a | less" gives you

...
a2ps
a2ps-4.13-3.i386.rpm
abcd.txt
.AbiSuite
.ab_library
abline.ps
.acrobat
.acrorc
.acrosrch
active.rtf
...

Oddly enough da_DK does sort names with a leading space before
characters, whereas de_DE does not.


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to