|
|
Subscribe / Log in / New account

Sorting filenames

Sorting filenames

Posted Sep 17, 2015 19:01 UTC (Thu) by josh (subscriber, #17465)
In reply to: Sorting filenames by hummassa
Parent article: A status update on Debian's reproducible builds

If you generally want a specific non-C locale, but you want sorting based on the C locale, you can set LC_COLLATE=C. I personally do that because most "natural language" locales don't preserve the classic UNIX "sort capital before lowercase" behavior that makes it useful to name files README or Makefile.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds