On Mon, Nov 08, 2004 at 04:00:56PM +0100, Boulenguez Pierre wrote:

> sort (coreutils) 5.2.1
> 
> [EMAIL PROTECTED] 0.1.8]$cat titi
> -0.2
> -0.5
> -4.2
> -1
> [EMAIL PROTECTED] 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.
*/

Attachment: pgpLQi2a00N88.pgp
Description: PGP signature

_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to