aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tr.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/tr.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/tr.c')
-rw-r--r--coreutils/tr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c
index 2f49d5a86..f552096f3 100644
--- a/coreutils/tr.c
+++ b/coreutils/tr.c
@@ -18,9 +18,6 @@
18/* http://www.opengroup.org/onlinepubs/009695399/utilities/tr.html 18/* http://www.opengroup.org/onlinepubs/009695399/utilities/tr.html
19 * TODO: graph, print 19 * TODO: graph, print
20 */ 20 */
21
22//kbuild:lib-$(CONFIG_TR) += tr.o
23
24//config:config TR 21//config:config TR
25//config: bool "tr" 22//config: bool "tr"
26//config: default y 23//config: default y
@@ -47,6 +44,10 @@
47//config: useful for cases when no other way of expressing a character 44//config: useful for cases when no other way of expressing a character
48//config: is possible. 45//config: is possible.
49 46
47//applet:IF_TR(APPLET(tr, BB_DIR_USR_BIN, BB_SUID_DROP))
48
49//kbuild:lib-$(CONFIG_TR) += tr.o
50
50//usage:#define tr_trivial_usage 51//usage:#define tr_trivial_usage
51//usage: "[-cds] STRING1 [STRING2]" 52//usage: "[-cds] STRING1 [STRING2]"
52//usage:#define tr_full_usage "\n\n" 53//usage:#define tr_full_usage "\n\n"