bug-coreutils
[Top][All Lists]
Advanced

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

bug#9281: Is this expected behavior?


From: Ajesh Shaj
Subject: bug#9281: Is this expected behavior?
Date: Thu, 11 Aug 2011 12:01:38 +0530

Hi,

    I got a strange ordering when I applied the linux sort command. Please see 
below for the details:

address@hidden tmp]$ cat a
.a
ba
.b
bb
.c
bc
address@hidden tmp]$ sort a
.a
.b
ba
bb
bc
.c


NOTE: .a and .b appears before ba and bb, where as .c appears after bc.

In general

if the file has strings of the type .<x> and <y><x>,

then for all x <= y, .x appear before yx and
          for all x>y, .x appear after yx

Is this expected behavior?

Regards
Ajesh

--



reply via email to

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