[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sort -t: -k1 behaves strangely
From: |
John Cowan |
Subject: |
sort -t: -k1 behaves strangely |
Date: |
Mon, 23 Apr 2007 22:50:24 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Given the input (without the leading spaces)
Test Case:#1
Test:#2
the command "LC_ALL=C sort -t: -k1" outputs the same, though the
key "Test" should sort before "Test Case". The bug exists in
coreutils 6.7, does not exist in 5.97 or 5.2.1, and exists in
textutils 1.14. It also exists in Solaris 9's sort. Is this
a regression, or was sort fixed to match the SVR4 behavior?
--
Long-short-short, long-short-short / Dactyls in dimeter, John Cowan
Verse form with choriambs / (Masculine rhyme): address@hidden
One sentence (two stanzas) / Hexasyllabically
Challenges poets who / Don't have the time. --robison who's at texas dot net
- sort -t: -k1 behaves strangely,
John Cowan <=