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: Thierry Vignaud
Subject: Re: Iconsistent ls sorting with and without `v'
Date: Thu, 22 May 2003 11:47:52 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Stepan Kasal <address@hidden> writes:

> 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!)

pablo, do you think we should alter our default aliases ?





reply via email to

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