Is it my imagination, or did /bin/ls used to sort by case? Now it puts, for example, "README" down among the "r"s instead of before all lowercase filenames. When did this change? Is this a concession to Windows case-insensitivity or something?

From: [identity profile] ghudson.livejournal.com


It's more common to have LANG set than LC_ALL. As I understand it, LC_ALL overrides {LC_COLLATE/LC_TIME/etc.} which overrides LANG, so you'd only set LC_ALL if, say, you're a script and want predictable output behavior.

(Unix locale stuff is very confusing and poorly documented in my experience. Fortunately, the average user only has to interact with it through a language-selection screen at system install time.)
.

Most Popular Tags

Powered by Dreamwidth Studios

Style Credit

Expand Cut Tags

No cut tags