bug-textutils
[Top][All Lists]
Advanced

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

bug in sort(1) ?


From: Carlo Strozzi
Subject: bug in sort(1) ?
Date: Fri, 5 Jul 2002 21:36:33 +0200
User-agent: Mutt/1.3.28i

Some background information first:

$ uname -a
Linux tango 2.4.18 #4 Tue May 7 15:38:55 CEST 2002 i686 unknown


$ cat /etc/issue
Debian GNU 3.0 (Woody)

(but it occurs also with Red Hat 7.3, a.k.a. Valhalla)


$ sort --version
sort (GNU textutils) 2.0
Written by Mike Haertel.

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


$ ldd /usr/bin/sort
        libc.so.6 => /lib/libc.so.6 (0x4001c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


$ /path/to/old/stuff/sort --version
sort - GNU textutils 1.13

$ ldd /path/to/old/stuff/sort
      libc.so.5 => /lib/libc.so.5 (0x40010000)


And here's the bug:

$ cat datafile
100b_015.m2v
cact_015.m2v
susi_015.m2v
bbc3_015.m2v
Daniela.mpeg


$ /usr/bin/sort datafile
100b_015.m2v
bbc3_015.m2v
cact_015.m2v
Daniela.mpeg
susi_015.m2v


$ /path/to/old/stuff/sort datafile
100b_015.m2v
Daniela.mpeg
bbc3_015.m2v
cact_015.m2v
susi_015.m2v


As you can see, sort 1.13 behaves correctly, while the newer 2.0 doesn't.

cheers,
Carlo
-- 
For easier reading please set the Courier font.
Messages larger than 30 KB may not receive immediate attention.
Freedom for Business: http://swpat.ffii.org



reply via email to

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