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.