You are not logged in.
Pages: 1
> touch @ @a 0 0a
> ls -1
@
0
0a
@a
Huh? If @ comes before 0, shouldn't @a come before 0a ???
Offline
» echo $LC_COLLATE
C
» ls -1
0
0a
@
@a
Offline
This is locale dependent (LC_COLLATE). C give '0 0a @ @a' what are you using? en_CA? Look at http://www.iso.org/iso/iso_catalogue/ca … mber=44872 for descrition of sorting order (some additions are made in the locale look at /usr/share/i18n/locales)
Offline
@ and many other characters translate as an empty string in LC_COLLATE=en_US.utf8
Offline
@ and many other characters translate as an empty string in LC_COLLATE=en_US.utf8
Aha, thanks. echo $LC_COLLATE gave a blank, so I guess it was determined by LOCALE="en_US.utf8" in rc.conf.
Also found some useful info here.
I now have export LC_COLLATE=C in ~/.zshrc
Cheers!
Offline
Pages: 1