What’s the default order of Linux sort?
For a long period I thought the default behavior of the sort program was using ASCII order. However, when I input the following lines into sort without any arguments:
For a long period I thought the default behavior of the sort program was using ASCII order. However, when I input the following lines into sort without any arguments:
While trying to answer this question about SQL sorting, I noticed a sort order I did not expect:
I have the following directory listing on a Debian Linux system. However, one strange thing is that the file populate.sql does not seem to be sorted with the rest.
Is there a way to output file’s contents using custom patterns?
I have some trouble to understand what is happening here:
I’ve got two files _jeter3.txt and _jeter1.txt
This is the data what I want to sort. But sort treats the numeric to string, the data it no sorted as I expected.
What is reasonable scalability limit of sort -u?
(in dimensions of “line length”, “amount of lines”, “total file size”)
UNIX philosophy says: do one thing and do it well. Make programs that handle text, because that is a universal interface.