[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in sort ?
From: |
Tim Waugh |
Subject: |
Re: Bug in sort ? |
Date: |
Mon, 8 Nov 2004 16:00:49 +0000 |
User-agent: |
Mutt/1.4.1i |
On Mon, Nov 08, 2004 at 04:00:56PM +0100, Boulenguez Pierre wrote:
> sort (coreutils) 5.2.1
>
> address@hidden 0.1.8]$cat titi
> -0.2
> -0.5
> -4.2
> -1
> address@hidden 0.1.8]$sort -n titi
> -4.2
> -1
> -0.2
> -0.5
You are probably using a locale whose decimal point string is "," --
in that case, the output you show looks correct to me.
See 'locale -k LC_NUMERIC' output to see if this is the case.
Conversely, set LC_NUMERIC=C to get POSIX values.
Tim.
*/
pgpbdBmUZoKoY.pgp
Description: PGP signature
- Bug in sort ?, Boulenguez Pierre, 2004/11/08
- Re: Bug in sort ?,
Tim Waugh <=