bug-bash
[Top][All Lists]
Advanced

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

problem with command sort


From: eduardo.damasio-da-costa
Subject: problem with command sort
Date: Mon, 1 Oct 2012 11:14:31 +0000

onfiguration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc -I/usr/src/packages/BUILD/bash-4.1 
-L/usr/src/packages/BUILD/bash-4.1/../readline-6.1
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-suse-linux-gnu' 
-DCONF_VENDOR='suse' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -fmessage-length=0 -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g  -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g 
-std=gnu89 -Wuninitialized -Wextra -Wno-unprototyped-calls -Wno-switch-enum 
-Wno-unused-variable -Wno-unused-parameter -ftree-loop-linear -pipe 
-fprofile-use
uname output: Linux ariel 2.6.34.10-0.6-desktop #1 SMP PREEMPT 2011-12-13 
18:27:38 +0100 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-suse-linux-gnu

Bash Version: 4.1
Patch Level: 7
Release Status: release

Description:
The command sort -k 3,3 lixo > lixo4 does not sort lixo as I was expecting.
For example, by line 385 lixo4 shows:
69.1875  -59.2511  1.00242e-05
 70.875  -62.0592  1.00242e-05
 145.125  -74.9763  1.00252e-06
 147.375  77.7844  1.00252e-06
 151.312  78.346  1.00252e-06
 15.75  80.0308  1.00252e-06
 158.062  68.7986  1.00252e-06
 158.625  68.237  1.00252e-06
 191.25  73.8531  1.00252e-06
 235.688  78.9076  1.00252e-06
 327.938  -86.7694  1.00252e-06
 93.9375  55.8813  1.00252e-06
 95.0625  38.4711  1.00252e-06
 10.125  -5.33541  1.00255e-05
 14.625  40.1559  1.00255e-05
 230.625  -64.8672  1.00255e-05
that is, third column is not sorted.

Thanks.

Eduardo



-- 
Scanned by iCritical.

Attachment: lixo.gz
Description: lixo.gz

Attachment: lixo4.gz
Description: lixo4.gz


reply via email to

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