bug-textutils
[Top][All Lists]
Advanced

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

bug in SORT with options n and u


From: Dr. Röbbe Wünschiers
Subject: bug in SORT with options n and u
Date: Thu, 8 May 2003 11:29:35 +0200

Hi folks. I have the feeling there is a bug in the sort program (GNU textutils 
2.1)

$ cat ../../genomes.txt
H. sapiens (human) - 3,400,000,000 bp - 30,000 genes
A. thaliana (plant) - 100,000,000 bp - 25,000 genes
S. cerevisiae (yeast) - 12,100,000 bp - 6034 genes
E. coli (bacteria) - 4,670,000 bp - 3237 genes
4 lines text?
4 lines text?
203 characters?
$ ./sort -nu ../../genomes.txt
H. sapiens (human) - 3,400,000,000 bp - 30,000 genes
4 lines text?
203 characters?
$ ./sort -u ../../genomes.txt | sort -n
A. thaliana (plant) - 100,000,000 bp - 25,000 genes
E. coli (bacteria) - 4,670,000 bp - 3237 genes
H. sapiens (human) - 3,400,000,000 bp - 30,000 genes
S. cerevisiae (yeast) - 12,100,000 bp - 6034 genes
4 lines text?
203 characters?
$

The output is truncated when the options n and u are used together. However, 
piping works...(even without tobacco).

Cheers, Röbbe.





reply via email to

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