Skip to main content

Timeline for sorting using the -k command

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
Jan 7, 2016 at 16:40 comment added Stéphane Chazelas Or just sort -t / -k 2 or sort -k 3.7
Jan 7, 2016 at 16:30 history edited Jeff Schaller CC BY-SA 3.0
deleted 83 characters in body; edited tags
Jan 7, 2016 at 16:29 answer added Jeff Schaller timeline score: 2
Jan 7, 2016 at 16:28 comment added ott-- So with sort -t / -k 2,3 it should be working.
Jan 7, 2016 at 16:26 comment added jimmij Give larger input sample, and expected output.
Jan 7, 2016 at 16:23 comment added Jakuje you should check out -t switch to define field separator. Also providing some test case where the sort would be noticeable would be nice.
Jan 7, 2016 at 16:16 review First posts
Jan 7, 2016 at 16:19
Jan 7, 2016 at 16:13 history asked A.Rae CC BY-SA 3.0