[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Iconsistent ls sorting with and without `v'
From: |
Andrey Borzenkov |
Subject: |
Iconsistent ls sorting with and without `v' |
Date: |
Fri, 9 May 2003 19:29:01 +0400 |
User-agent: |
KMail/1.5 |
info ls
`-v'
`--sort=version'
Sort by version name and number, lowest first. It behaves like a
default sort, except that each sequence of decimal digits is
treated numerically as an index/version number. (*Note More
details about version sort::.)
where default sort is defined as ...
By default, the output is sorted alphabetically, according to the
locale settings in effect.
{pts/2}% ls
a A b B c C
{pts/2}% ls -v
A B C a b c
{pts/2}% echo $LANG
ru_RU.KOI8-R
The first output (without -v) is correct according to locale setings (I do not
like this order but it is not related to the problem :)
{pts/2}% LC_ALL=C ls --version
ls (coreutils) 4.5.7
{pts/2}% rpm -q coreutils
coreutils-4.5.7-1mdk
-andrey
- Re: [Cooker] strange problem with "hotplug" package, Andrey Borzenkov, 2003/05/06
- Re: [Cooker] strange problem with "hotplug" package, Stepan Kasal, 2003/05/06
- Re: [Cooker] strange problem with "hotplug" package, Jim Meyering, 2003/05/06
- Iconsistent ls sorting with and without `v',
Andrey Borzenkov <=
- Re: Iconsistent ls sorting with and without `v', Jim Meyering, 2003/05/10
- Re: Iconsistent ls sorting with and without `v', Andrey Borzenkov, 2003/05/10
- Re: Iconsistent ls sorting with and without `v', Stepan Kasal, 2003/05/11
- Re: Iconsistent ls sorting with and without `v', Thierry Vignaud, 2003/05/22