Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/bin/sort by date broken?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mark.ord
n00b
n00b


Joined: 14 Nov 2004
Posts: 8

PostPosted: Sun Nov 14, 2004 4:16 am    Post subject: /usr/bin/sort by date broken? Reply with quote

Is sort -M (month comparison) broken on Gentoo, or am I just missing something?

Code:

scholars root # cat test                     
DEC
JAN
AUG
JUL


Code:

scholars root # /usr/bin/sort --version
sort (coreutils) 5.2.1
Written by Mike Haertel and Paul Eggert.
[...snip...]

scholars root # cat test | /usr/bin/sort -M
AUG
DEC
JAN
JUL


But if I use sort, pulled from a Debian box

Code:

scholars root # /usr/local/bin/sort --version
sort (GNU textutils) 2.0
Written by Mike Haertel.
[...snip...]

scholars root # cat test | /usr/local/bin/sort -M
JAN
JUL
AUG
DEC


While the versions and package (coreutils vs. textutils) differ, man sort on Gentoo documents that -M should work.

Mark.
Back to top
View user's profile Send private message
fifo
Guru
Guru


Joined: 14 Jan 2003
Posts: 437

PostPosted: Sun Nov 14, 2004 5:38 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=54765
Back to top
View user's profile Send private message
mark.ord
n00b
n00b


Joined: 14 Nov 2004
Posts: 8

PostPosted: Sun Nov 14, 2004 5:53 am    Post subject: Reply with quote

Awesome!

Thanks a lot.

Mark.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum