aboutsummaryrefslogtreecommitdiff
path: root/coreutils/sort.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 14:46:56 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 14:46:56 +0100
commitaf3f42011628585cd5c8f5c1fd4b43f2e370a23d (patch)
tree125ee16d5080008fcf459ad55d91af1dcd488ef9 /coreutils/sort.c
parent5b966c6180c139fba6846d632fd9bc0c34a8e1bc (diff)
downloadbusybox-w32-af3f42011628585cd5c8f5c1fd4b43f2e370a23d.tar.gz
busybox-w32-af3f42011628585cd5c8f5c1fd4b43f2e370a23d.tar.bz2
busybox-w32-af3f42011628585cd5c8f5c1fd4b43f2e370a23d.zip
Convert all coreutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r--coreutils/sort.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c
index 34a41999b..1ccce93c5 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -11,6 +11,27 @@
11 * See SuS3 sort standard at: 11 * See SuS3 sort standard at:
12 * http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html 12 * http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
13 */ 13 */
14//config:config SORT
15//config: bool "sort"
16//config: default y
17//config: help
18//config: sort is used to sort lines of text in specified files.
19//config:
20//config:config FEATURE_SORT_BIG
21//config: bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
22//config: default y
23//config: depends on SORT
24//config: help
25//config: Without this, sort only supports -r, -u, and an integer version
26//config: of -n. Selecting this adds sort keys, floating point support, and
27//config: more. This adds a little over 3k to a nonstatic build on x86.
28//config:
29//config: The SuSv3 sort standard is available at:
30//config: http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
31
32//applet:IF_SORT(APPLET_NOEXEC(sort, sort, BB_DIR_USR_BIN, BB_SUID_DROP, sort))
33
34//kbuild:lib-$(CONFIG_SORT) += sort.o
14 35
15//usage:#define sort_trivial_usage 36//usage:#define sort_trivial_usage
16//usage: "[-nru" 37//usage: "[-nru"