2
votes
2answers
123 views

Why is sort.exe truncating large output on 32-bit Windows?

We have a data file from a client which is 1,443,777,659 bytes in size. Sorted output has lines missing and is only 1,269,801,985 bytes in size. Sample command: sort -k 1,10 -T . -s -i ...
0
votes
1answer
206 views

gnu sort alphanumerically by one column, followed by numerically in next column?

How can I sort a text file with GNU sort starting with alphanumeric sort by one column, followed by numerical sort in the next column? I tried sort -n -k1,2 file.txt, but it doesn't seem to work: ...
3
votes
1answer
409 views

sort by word length in Nth column

I've got a column file like this: 1 1 1 AKSDFJADFKASDJFAK 2 1 1 ADKLCJASDLKCJDLACKADCJLKDACJADS 3 1 2 AKLJDFHALKDJFHLKJSDKSDFHAKJFDHAKFHJAKFJ And I would like to sort the entries by the fourth ...
0
votes
1answer
897 views

GNU sort and git blame

Today I thought I was doing a simple operation: git blame file | sort -k 3 To get all the lines of file sorted by the date on which they were last changed. Unfortunately it doesn't seem to be ...