-T # Specify the field separator character to use when sorting -n # Sort by numeric size -R # sort in reverse order -F # when sorting, treat lowercase letters as uppercase letters -D # When sorting, handle letters, numbers, and whitespace characters, ignoring other characters -c # Check to see if the files are sorted in order -B # Ignores the space character at the beginning of each line -M # The first 3 letters are sorted according to the abbreviation of the month -k # Specify domain -M # Merge a few sorted files + < Start field >-< end field >
# is sorted by the field specified, ranging from the Start field to the previous column in the End field. -o # The sorted results are stored in the specified text
Sort-N # Sort by number-NR # by Digital Flashback sort-U # filter Repeating rows sort-m A.txt c.txt # combine two file contents into a sort-n-t' '-K2-K3A.txt # The second field is the same and will be handled from the third domain sort-n-t':'-K 3r A.txt # to: Flashback to the third field of the Split field sort-K1.3a.txt # Sorting from the third letter sort-T" "-K 2n-u A.txt # is sorted in the second field, and if duplicate is encountered, delete
Linux-sort sort