[Top][All Lists]

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

Re: ls -la behavior change. Feature or Bug?

From: Matt Schalit
Subject: Re: ls -la behavior change. Feature or Bug?
Date: Sat, 02 Mar 2002 20:55:35 -0800
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.8) Gecko/20020204

Thomas Linden wrote:

I realized a change of the behavior of "ls -la" in the latest
version. It does no more list dotfiles at the beginning of
the listing, instead it ignores the dots and sorts the files
based on the 2nd character.

While this "feature" might be funny for some people, I find
it annoying. ls is a standard unix utility and as such it
should not change it's well known behavior. Especially not
in such a way. Beside I didn't find this change mentioned in
the changelog.

So, what I am asking for is: As a user of ls I don't want this.
Is it possible to turn it off and if yes - how?

Yes.  It's covered in the FAQ.  ls behaves posixly as it should.
Your LC_COLLATE setting causes the sort order you see.

Will this feature stay forever in ls?

I hope so.  Standards are good.  OS vendors behave oddly
and don't get enough sleep.

What ls should I use if this bug (what it IMHO is) will be there forever?

Not a bug.  The user hasn't searched this list or read the
fileutils faq (wherever it lives).

Would you agree to provide a second version of ls to the
> source tree, say "good-old-ls", which people can use if
> they don't like that the behavior of ls changes, like me?

Not needed if users understand LC*.

regards, Tom

Hope I wasn't too mean :)

reply via email to

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