Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Not-quite-alphabetic sorting: bug in Zsh or in Ubuntu?



I believe this has been discussed before, it has to do with how each
platform defines locale-specific collation order.  In the completion
example I believe this has to do with collation of spaces, because the
descriptions are included in the strings passed to strcoll() for
sorting.

Try

LANG=en_US.UTF-8 sort <<\EOF
less     -- opposite of more
lessecho -- expand metacharacters
lessfile -- "input preprocessor" for less.
lesskey  -- specify key bindings for less
lesspipe -- "input preprocessor" for less.
EOF

and you'll get the same result.




Messages sorted by: Reverse Date, Date, Thread, Author