bug-coreutils
[Top][All Lists]
Advanced

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

Re: Possible bug in sort -V


From: Steve Ward
Subject: Re: Possible bug in sort -V
Date: Wed, 16 Dec 2009 00:05:35 -0500

On Tue, Dec 15, 2009 at 20:18, john blair <address@hidden>wrote:

> cat a | /build/toolchain/lin32/coreutils-8.2/bin/sort -V
> kernel-2.6.18-164.2.1.el5.x86_64.rpm
> kernel-2.6.18-164.6.1.el5.x86_64.rpm
> kernel-2.6.18-164.el5.x86_64.rpm
>
> The result should be
> kernel-2.6.18-164.el5.x86_64.rpm
> kernel-2.6.18-164.2.1.el5.x86_64.rpm
> kernel-2.6.18-164.6.1.el5.x86_64.rpm
>
> Is it a bug is sort -V?
>
>
>
>
>
>
>
>
What version of sort are you using?
(sort --version)

What is your locale setting?

In ASCII, decimal digits are before alphabetical letters.  Why did you
expect the 'e' to come before '2' and '6'?



Steve

P.S.
You don't need to cat a file and pipe the output to sort.  Sort can open
files as input.


reply via email to

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