[rescue] Mainframe on eBay

Brian Wheeler bdwheele at indiana.edu
Mon Sep 26 15:13:54 CDT 2005


On Mon, 2005-09-26 at 16:03 -0400, der Mouse wrote:
> > GNU tools are mostly compatible with BSD/Sun/SvR4 commands, and
> > usually only differ in offering optional extensions.
> 
> Maybe in most cases.  I recently had to work with Fedora and Red Hat,
> and I was unable to find any way to make ls sort names the way I'm used
> to, ie, simple machine collating order on the filename - it insisted on
> doing a case-folding alphabetic sort ignoring, possibly among other
> things, leading dots.  Worst of all, there is no option to fix it, or
> at least the manpage shows none.  (I loathe the colour goop too, but
> that at least is relatively easy to get rid of.)
> 

ls is i18n aware, and the LANG variable is set to en_US by default.  If
you reset it to C, it'll collate like you want it to.

Brian Wheeler
bdwheele at indiana.edu



More information about the rescue mailing list