bug-gnu-utils
[Top][All Lists]
Advanced

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

Sort: Is this a bug or not?


From: Miklos Janosi
Subject: Sort: Is this a bug or not?
Date: Mon, 04 Mar 2002 16:20:15 -0500

I have a file to sort that contains no colons ":".
This is my commandline:

sort -t: -k1.3,1.14 -k1.32,1.35 -k1.26,1.31 -k1.15,1.25 -o xx.srt xx

cut -c3-14,32-35,26-31,26-31,15-25 xx.srt > yy
cut -c3-14,32-35,26-31,26-31,15-25 xx | sort > zz
diff yy zz

If I understand correctly, yy and zz should be the same, but they are
not. Is this a bug in sort or am I mistaken on my parameters?

--                        ________________________
--   __    /|___  Two    |                        |
--  |  |  /     | wrongs |  Miki Janosi           |
-- _|  |_ \  ___| won't  |  address@hidden    |
-- \    /  \|     make a |  (330) 972-8640        |
--  \  /  ___|\   right. |                        |
--   \/  |     \      /-----------------------/   |
--       |___  /      \     3 lefts will.     \ _/
--           |/        `------------------------



reply via email to

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