bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Iconsistent ls sorting with and without `v'


From: Stepan Kasal
Subject: Re: Iconsistent ls sorting with and without `v'
Date: Sun, 11 May 2003 21:02:14 +0200
User-agent: Mutt/1.2.5.1i

Hello,

On Sat, May 10, 2003 at 07:25:24PM +0400, Andrey Borzenkov wrote:
> > ls -v uses the strverscmp function.
> That makes it rather useless for any codeset except trivial ASCII. Even 

> In any case, Mandrake sets default alias to  ll='ls -lFv' ...

> Would you consider to change ls behaiour? Else may I ask to change default 
> aliases as used in Mandrake? It is rather confusing currently.

Sure it is.  In any case I'd say that the distro makers should try to
avoid surprises as much as possible.  They should choose between not using
`-v' and setting `LC_ALL=C'.  For example:
        la='LC_ALL=C ls -laFv'
would be reasonable.  (Another reason could be that a locale could mix
hidden files with files whose names start by a letter.)

But it all depends on taste.  I, for myself, would find the `-x' also
rather annoying.

I think you should ask the authors of your distribution to adapt better
to axioms which are currently in effect.

In parallel, you can ask for change of the behaviour of ls.
I've tried to verify that your wish doesn't contradict POSIX.
I'm not the one who will decide though.
(And I don't have any opinion: LC_ALL=C rulez!)

Just my CZK 0.01,
        Stepan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]