aboutsummaryrefslogtreecommitdiff
path: root/coreutils/sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r--coreutils/sort.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c
index 07d903388..9139d9f47 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -14,23 +14,23 @@
14 14
15//usage:#define sort_trivial_usage 15//usage:#define sort_trivial_usage
16//usage: "[-nru" 16//usage: "[-nru"
17//usage: IF_FEATURE_SORT_BIG("gMcszbdfimSTokt] [-o FILE] [-k start[.offset][opts][,end[.offset][opts]] [-t CHAR") 17//usage: IF_FEATURE_SORT_BIG("gMcszbdfiokt] [-o FILE] [-k start[.offset][opts][,end[.offset][opts]] [-t CHAR")
18//usage: "] [FILE]..." 18//usage: "] [FILE]..."
19//usage:#define sort_full_usage "\n\n" 19//usage:#define sort_full_usage "\n\n"
20//usage: "Sort lines of text\n" 20//usage: "Sort lines of text\n"
21//usage: IF_FEATURE_SORT_BIG( 21//usage: IF_FEATURE_SORT_BIG(
22//usage: "\n -b Ignore leading blanks" 22//usage: "\n -o FILE Output to FILE"
23//usage: "\n -c Check whether input is sorted" 23//usage: "\n -c Check whether input is sorted"
24//usage: "\n -d Dictionary order (blank or alphanumeric only)" 24//usage: "\n -b Ignore leading blanks"
25//usage: "\n -f Ignore case" 25//usage: "\n -f Ignore case"
26//usage: "\n -g General numerical sort"
27//usage: "\n -i Ignore unprintable characters" 26//usage: "\n -i Ignore unprintable characters"
27//usage: "\n -d Dictionary order (blank or alphanumeric only)"
28//usage: "\n -g General numerical sort"
28//usage: "\n -M Sort month" 29//usage: "\n -M Sort month"
29//usage: ) 30//usage: )
30//-h, --human-numeric-sort: compare human readable numbers (e.g., 2K 1G) 31//-h, --human-numeric-sort: compare human readable numbers (e.g., 2K 1G)
31//usage: "\n -n Sort numbers" 32//usage: "\n -n Sort numbers"
32//usage: IF_FEATURE_SORT_BIG( 33//usage: IF_FEATURE_SORT_BIG(
33//usage: "\n -o Output to file"
34//usage: "\n -t CHAR Field separator" 34//usage: "\n -t CHAR Field separator"
35//usage: "\n -k N[,M] Sort by Nth field" 35//usage: "\n -k N[,M] Sort by Nth field"
36//usage: ) 36//usage: )
@@ -41,7 +41,10 @@
41//usage: "\n -u Suppress duplicate lines" 41//usage: "\n -u Suppress duplicate lines"
42//usage: IF_FEATURE_SORT_BIG( 42//usage: IF_FEATURE_SORT_BIG(
43//usage: "\n -z Lines are terminated by NUL, not newline" 43//usage: "\n -z Lines are terminated by NUL, not newline"
44//usage: "\n -mST Ignored for GNU compatibility") 44////usage: "\n -m Ignored for GNU compatibility"
45////usage: "\n -S BUFSZ Ignored for GNU compatibility"
46////usage: "\n -T TMPDIR Ignored for GNU compatibility"
47//usage: )
45//usage: 48//usage:
46//usage:#define sort_example_usage 49//usage:#define sort_example_usage
47//usage: "$ echo -e \"e\\nf\\nb\\nd\\nc\\na\" | sort\n" 50//usage: "$ echo -e \"e\\nf\\nb\\nd\\nc\\na\" | sort\n"