Re: ls sort order: new, bad, behaviour
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09/23/07 00:49, Eric d'Alibut wrote:
> On 9/22/07, Benjamin A'Lee <bma+lists@subvert.org.uk> wrote:
>
>> Do 'printenv | grep LC_COLLATE' or 'locale' show the right setting?
>
> I am beginning to think I am a victim of my addled pate. Have I been
> using midnight commander too much? Am I looking for a fig newton of my
> imagination, namely, an 'ls' that sorts directories first, and
> ordinary files afterwards? Do others actually see that behaviour in
> terminals?
Sure. That's how it works for me.
$ locale
LANG=
LANGUAGE=en_US:en_GB:en
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
- --
Ron Johnson, Jr.
Jefferson LA USA
Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFG9l5rS9HxQb37XmcRAknrAKDT6Up+kz2YEx45dX1+aD2fA4rVCwCdGIJ8
34i3wHfjh73CH3cGJyXrYAY=
=+OBb
-----END PGP SIGNATURE-----
Reply to: