How do I sort a text file which has been listed already by size order, then take that list and put it into reverse alphabetical order?
MarkQ97
Recommended Answers
Jump to PostHow about
All 3 Replies
rproffitt
2,565
"Nothing to see here."
Moderator
MarkQ97
commented:
sort -r only sorts the directory, I want to sort the text file
+0
rproffitt
2,565
"Nothing to see here."
Moderator
Gribouillis
1,391
Programming Explorer
Team Colleague
rproffitt
commented:
Some folk need to see more examples. even sort -r file.txt should work but they may be quite new to the command line.
+6
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.