Case-Insensitive LS on Mac OS X?
August 16, 2009 11:03 AM Subscribe
Unix mavens: is there a way for
ls on a Mac OS X install to alphabetize its listing case-
insensitively, while still preserving any other ls flags you may be using? If not, does another
ls variant offered by anybody offer case-insensitivity, and if so, how can I supplant one with the other,
without risk of any harm to anything else on my system? (If it matters, my shell of choice is
tcsh.)
posted by WCityMike to computers & internet (19 answers total) 3 users marked this as a favorite
LC_COLLATE=en_us.8859 ls -l
or something similar. No OS X box within reach, though, so I cannot try it out.
posted by effbot at 11:16 AM on August 16, 2009