Carl Cerecke wrote:

The old ls used to sort:

.c
B
a

The new ls sorts files case insensitively, and ignores dot,
so we get:
a
B
.c

Personally, I like the behaviour of the old version. Is there
an easy way to get the old sorting behaviour back? Or do I
have to recompile? Is it a compile time option that RH thought
was a Good Idea?
RH has the notion that the standard unix ways are not good, and they alter the standard unix commands without mercy by using aliases. Also if you have a locale set up 'ls' will follow it ruthlessly.

btw & fyi, Gentoo behaves traditionally.


%ls --version
ls (fileutils) 4.1.9
Written by Richard Stallman and David MacKenzie.

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Cheers,
Carl.





Reply via email to