Timeline for Sort lines based on a variable-width number at a fixed position
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 30, 2013 at 3:11 | history | tweeted | twitter.com/#!/StackUnix/status/351176238980808706 | ||
| Jun 29, 2013 at 23:36 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |
edited tags; edited title
|
| Jun 29, 2013 at 19:50 | comment | added | Bernhard | What do you mean by "it doesn't work"? It does work, only not as you expect. What is the output, and what do you expect? | |
| Jun 29, 2013 at 19:25 | answer | added | JRFerguson | timeline score: 5 | |
| Jun 29, 2013 at 18:39 | answer | added | user26112 | timeline score: 3 | |
| Jun 29, 2013 at 18:18 | review | First posts | |||
| Jun 29, 2013 at 19:50 | |||||
| Jun 29, 2013 at 18:14 | history | edited | Noor | CC BY-SA 3.0 |
edited body
|
| Jun 29, 2013 at 18:14 | comment | added | Noor | Ahh its 6 then, but it doesn't work as well | |
| Jun 29, 2013 at 18:12 | comment | added | Kevin |
1. You need to use -n or -g to sort numerically. 2. -k5 says to use the fifth whitespace-separated field as a key. I'm not sure sort can even handle starting in the middle of a field
|
|
| Jun 29, 2013 at 18:02 | history | asked | Noor | CC BY-SA 3.0 |