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.
*/