diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 14:46:56 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 14:46:56 +0100 |
commit | af3f42011628585cd5c8f5c1fd4b43f2e370a23d (patch) | |
tree | 125ee16d5080008fcf459ad55d91af1dcd488ef9 /coreutils/dos2unix.c | |
parent | 5b966c6180c139fba6846d632fd9bc0c34a8e1bc (diff) | |
download | busybox-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/dos2unix.c')
-rw-r--r-- | coreutils/dos2unix.c | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index ccb74a113..03986ad39 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c | |||
@@ -10,7 +10,27 @@ | |||
10 | * dos2unix filters reading input from stdin and writing output to stdout. | 10 | * dos2unix filters reading input from stdin and writing output to stdout. |
11 | * | 11 | * |
12 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 12 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
13 | */ | 13 | */ |
14 | //config:config DOS2UNIX | ||
15 | //config: bool "dos2unix/unix2dos" | ||
16 | //config: default y | ||
17 | //config: help | ||
18 | //config: dos2unix is used to convert a text file from DOS format to | ||
19 | //config: UNIX format, and vice versa. | ||
20 | //config: | ||
21 | //config:config UNIX2DOS | ||
22 | //config: bool | ||
23 | //config: default y | ||
24 | //config: depends on DOS2UNIX | ||
25 | //config: help | ||
26 | //config: unix2dos is used to convert a text file from UNIX format to | ||
27 | //config: DOS format, and vice versa. | ||
28 | |||
29 | //applet:IF_DOS2UNIX(APPLET_NOEXEC(dos2unix, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, dos2unix)) | ||
30 | //applet:IF_UNIX2DOS(APPLET_NOEXEC(unix2dos, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, unix2dos)) | ||
31 | |||
32 | //kbuild:lib-$(CONFIG_DOS2UNIX) += dos2unix.o | ||
33 | //kbuild:lib-$(CONFIG_UNIX2DOS) += dos2unix.o | ||
14 | 34 | ||
15 | //usage:#define dos2unix_trivial_usage | 35 | //usage:#define dos2unix_trivial_usage |
16 | //usage: "[-ud] [FILE]" | 36 | //usage: "[-ud] [FILE]" |