bug-coreutils
[Top][All Lists]
Advanced

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

Possible bug in sort utility


From: Tal V.
Subject: Possible bug in sort utility
Date: Fri, 12 Aug 2005 20:50:16 +0200

I think there is a bug in "sort" utility from the latest utility set
coreutils-5.2.1 .

 

When I sort a file by the second character in first field I have to refer to
the second character as to character number "1" (command "sort 0.1
filename").

 

But when I want to sort a file by the second character in second (or higher)
field I need to refer to the second character as to character number "2"
(command "sort 1.2 filename").

 

I've made some more experiments with the third, fourth,... characters, and
found that the counting of characters in the first field begins with 0, but
the counting of characters in other fields begin with 1.

 

 

 

I would like to hear your opinion

Tal Vainshtein



reply via email to

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