Need help with the UNIX command below to sort the file by the following words, from major sort key to minor sort key: word 3, word 1, word 4. (words are separated by white spaces)
sort -t -k3 -k1 -k4 > newfile.txt doesnt work
This question came from our site for professional and enthusiast programmers.
Short answer is, get rid of the
one two three four the quick brown fox jumps over the lazy dog pun poo three poor one two three four five the elegant brown zebra
the quick brown fox the elegant brown zebra jumps over the lazy dog one two three four one two three four five pun poo three poor