shell:sort
Description
Writes sorted concatenation of all files to standard output.
Syntax
shell:sort [options] [files]
Arguments
Name | Description |
---|---|
files | A list of files separated by whitespaces |
Options
Name | Description |
---|---|
-n, --numeric-sort | compare according to string numerical value |
-t, --field-separator | use SEP instead of non-blank to blank transition |
-b, --ignore-leading-blanks | ignore leading blanks |
-f, -ignore-case | fold lower case to upper case characters |
-r, --reverse | reverse the result of comparisons |
-k, --key | Fields to use for sorting separated by whitespaces |
--help | Display this help message |
-u, --unique | output only the first of an equal run |