diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-21 09:50:55 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-21 09:50:55 +0200 |
commit | 72089cf6b4a77214ec4fd21d5ee5bf56958781cb (patch) | |
tree | a5cd9d8f47e909834d3dbc44f895556e68bcf18f /coreutils | |
parent | 75d151e31d135ebab083307ded4e9b98970baa75 (diff) | |
download | busybox-w32-72089cf6b4a77214ec4fd21d5ee5bf56958781cb.tar.gz busybox-w32-72089cf6b4a77214ec4fd21d5ee5bf56958781cb.tar.bz2 busybox-w32-72089cf6b4a77214ec4fd21d5ee5bf56958781cb.zip |
config: deindent all help texts
Those two spaces after tab have no effect, and always a nuisance when editing.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
82 files changed, 245 insertions, 245 deletions
diff --git a/coreutils/Config.src b/coreutils/Config.src index 1d2fea1fb..7a8a3a634 100644 --- a/coreutils/Config.src +++ b/coreutils/Config.src | |||
@@ -13,9 +13,9 @@ config FEATURE_VERBOSE | |||
13 | bool "Support verbose options (usually -v) for various applets" | 13 | bool "Support verbose options (usually -v) for various applets" |
14 | default y | 14 | default y |
15 | help | 15 | help |
16 | Enable cp -v, rm -v and similar messages. | 16 | Enable cp -v, rm -v and similar messages. |
17 | Also enables long option (--verbose) if it exists. | 17 | Also enables long option (--verbose) if it exists. |
18 | Without this option, -v is accepted but ignored. | 18 | Without this option, -v is accepted but ignored. |
19 | 19 | ||
20 | comment "Common options for cp and mv" | 20 | comment "Common options for cp and mv" |
21 | depends on CP || MV | 21 | depends on CP || MV |
@@ -25,7 +25,7 @@ config FEATURE_PRESERVE_HARDLINKS | |||
25 | default y | 25 | default y |
26 | depends on CP || MV | 26 | depends on CP || MV |
27 | help | 27 | help |
28 | Allow cp and mv to preserve hard links. | 28 | Allow cp and mv to preserve hard links. |
29 | 29 | ||
30 | comment "Common options for df, du, ls" | 30 | comment "Common options for df, du, ls" |
31 | depends on DF || DU || LS | 31 | depends on DF || DU || LS |
@@ -35,6 +35,6 @@ config FEATURE_HUMAN_READABLE | |||
35 | default y | 35 | default y |
36 | depends on DF || DU || LS | 36 | depends on DF || DU || LS |
37 | help | 37 | help |
38 | Allow df, du, and ls to have human readable output. | 38 | Allow df, du, and ls to have human readable output. |
39 | 39 | ||
40 | endmenu | 40 | endmenu |
diff --git a/coreutils/basename.c b/coreutils/basename.c index 6d8215895..481cdcee9 100644 --- a/coreutils/basename.c +++ b/coreutils/basename.c | |||
@@ -18,9 +18,9 @@ | |||
18 | //config: bool "basename (371 bytes)" | 18 | //config: bool "basename (371 bytes)" |
19 | //config: default y | 19 | //config: default y |
20 | //config: help | 20 | //config: help |
21 | //config: basename is used to strip the directory and suffix from filenames, | 21 | //config: basename is used to strip the directory and suffix from filenames, |
22 | //config: leaving just the filename itself. Enable this option if you wish | 22 | //config: leaving just the filename itself. Enable this option if you wish |
23 | //config: to enable the 'basename' utility. | 23 | //config: to enable the 'basename' utility. |
24 | 24 | ||
25 | //applet:IF_BASENAME(APPLET_NOFORK(basename, basename, BB_DIR_USR_BIN, BB_SUID_DROP, basename)) | 25 | //applet:IF_BASENAME(APPLET_NOFORK(basename, basename, BB_DIR_USR_BIN, BB_SUID_DROP, basename)) |
26 | 26 | ||
diff --git a/coreutils/cat.c b/coreutils/cat.c index 41bef8f1d..390254512 100644 --- a/coreutils/cat.c +++ b/coreutils/cat.c | |||
@@ -10,22 +10,22 @@ | |||
10 | //config: bool "cat (5.6 kb)" | 10 | //config: bool "cat (5.6 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: cat is used to concatenate files and print them to the standard | 13 | //config: cat is used to concatenate files and print them to the standard |
14 | //config: output. Enable this option if you wish to enable the 'cat' utility. | 14 | //config: output. Enable this option if you wish to enable the 'cat' utility. |
15 | //config: | 15 | //config: |
16 | //config:config FEATURE_CATN | 16 | //config:config FEATURE_CATN |
17 | //config: bool "Enable -n and -b options" | 17 | //config: bool "Enable -n and -b options" |
18 | //config: default y | 18 | //config: default y |
19 | //config: depends on CAT | 19 | //config: depends on CAT |
20 | //config: help | 20 | //config: help |
21 | //config: -n numbers all output lines while -b numbers nonempty output lines. | 21 | //config: -n numbers all output lines while -b numbers nonempty output lines. |
22 | //config: | 22 | //config: |
23 | //config:config FEATURE_CATV | 23 | //config:config FEATURE_CATV |
24 | //config: bool "cat -v[etA]" | 24 | //config: bool "cat -v[etA]" |
25 | //config: default y | 25 | //config: default y |
26 | //config: depends on CAT | 26 | //config: depends on CAT |
27 | //config: help | 27 | //config: help |
28 | //config: Display nonprinting characters as escape sequences | 28 | //config: Display nonprinting characters as escape sequences |
29 | 29 | ||
30 | //applet:IF_CAT(APPLET(cat, BB_DIR_BIN, BB_SUID_DROP)) | 30 | //applet:IF_CAT(APPLET(cat, BB_DIR_BIN, BB_SUID_DROP)) |
31 | 31 | ||
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c index 834346b4d..27a0edf0d 100644 --- a/coreutils/chgrp.c +++ b/coreutils/chgrp.c | |||
@@ -10,7 +10,7 @@ | |||
10 | //config: bool "chgrp (7.2 kb)" | 10 | //config: bool "chgrp (7.2 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: chgrp is used to change the group ownership of files. | 13 | //config: chgrp is used to change the group ownership of files. |
14 | 14 | ||
15 | //applet:IF_CHGRP(APPLET_NOEXEC(chgrp, chgrp, BB_DIR_BIN, BB_SUID_DROP, chgrp)) | 15 | //applet:IF_CHGRP(APPLET_NOEXEC(chgrp, chgrp, BB_DIR_BIN, BB_SUID_DROP, chgrp)) |
16 | 16 | ||
diff --git a/coreutils/chmod.c b/coreutils/chmod.c index ec075f7c9..2174334d1 100644 --- a/coreutils/chmod.c +++ b/coreutils/chmod.c | |||
@@ -13,7 +13,7 @@ | |||
13 | //config: bool "chmod (5.1 kb)" | 13 | //config: bool "chmod (5.1 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: help | 15 | //config: help |
16 | //config: chmod is used to change the access permission of files. | 16 | //config: chmod is used to change the access permission of files. |
17 | 17 | ||
18 | //applet:IF_CHMOD(APPLET_NOEXEC(chmod, chmod, BB_DIR_BIN, BB_SUID_DROP, chmod)) | 18 | //applet:IF_CHMOD(APPLET_NOEXEC(chmod, chmod, BB_DIR_BIN, BB_SUID_DROP, chmod)) |
19 | 19 | ||
diff --git a/coreutils/chown.c b/coreutils/chown.c index 5c04bc39a..1bfc725cc 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "chown (7.2 kb)" | 10 | //config: bool "chown (7.2 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: chown is used to change the user and/or group ownership | 13 | //config: chown is used to change the user and/or group ownership |
14 | //config: of files. | 14 | //config: of files. |
15 | //config: | 15 | //config: |
16 | //config:config FEATURE_CHOWN_LONG_OPTIONS | 16 | //config:config FEATURE_CHOWN_LONG_OPTIONS |
17 | //config: bool "Enable long options" | 17 | //config: bool "Enable long options" |
diff --git a/coreutils/chroot.c b/coreutils/chroot.c index 6fa3a3f27..44a587fe0 100644 --- a/coreutils/chroot.c +++ b/coreutils/chroot.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "chroot (3.7 kb)" | 10 | //config: bool "chroot (3.7 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: chroot is used to change the root directory and run a command. | 13 | //config: chroot is used to change the root directory and run a command. |
14 | //config: The default command is `/bin/sh'. | 14 | //config: The default command is `/bin/sh'. |
15 | 15 | ||
16 | //applet:IF_CHROOT(APPLET(chroot, BB_DIR_USR_SBIN, BB_SUID_DROP)) | 16 | //applet:IF_CHROOT(APPLET(chroot, BB_DIR_USR_SBIN, BB_SUID_DROP)) |
17 | 17 | ||
diff --git a/coreutils/cksum.c b/coreutils/cksum.c index dce17d94b..c0cf65d2a 100644 --- a/coreutils/cksum.c +++ b/coreutils/cksum.c | |||
@@ -10,7 +10,7 @@ | |||
10 | //config: bool "cksum (4.2 kb)" | 10 | //config: bool "cksum (4.2 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: cksum is used to calculate the CRC32 checksum of a file. | 13 | //config: cksum is used to calculate the CRC32 checksum of a file. |
14 | 14 | ||
15 | //applet:IF_CKSUM(APPLET_NOEXEC(cksum, cksum, BB_DIR_USR_BIN, BB_SUID_DROP, cksum)) | 15 | //applet:IF_CKSUM(APPLET_NOEXEC(cksum, cksum, BB_DIR_USR_BIN, BB_SUID_DROP, cksum)) |
16 | 16 | ||
diff --git a/coreutils/comm.c b/coreutils/comm.c index 8f9dcde29..5be11468c 100644 --- a/coreutils/comm.c +++ b/coreutils/comm.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "comm (3.9 kb)" | 10 | //config: bool "comm (3.9 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: comm is used to compare two files line by line and return | 13 | //config: comm is used to compare two files line by line and return |
14 | //config: a three-column output. | 14 | //config: a three-column output. |
15 | 15 | ||
16 | //applet:IF_COMM(APPLET(comm, BB_DIR_USR_BIN, BB_SUID_DROP)) | 16 | //applet:IF_COMM(APPLET(comm, BB_DIR_USR_BIN, BB_SUID_DROP)) |
17 | 17 | ||
diff --git a/coreutils/cp.c b/coreutils/cp.c index 726859c5f..092e39583 100644 --- a/coreutils/cp.c +++ b/coreutils/cp.c | |||
@@ -15,15 +15,15 @@ | |||
15 | //config: bool "cp (9.7 kb)" | 15 | //config: bool "cp (9.7 kb)" |
16 | //config: default y | 16 | //config: default y |
17 | //config: help | 17 | //config: help |
18 | //config: cp is used to copy files and directories. | 18 | //config: cp is used to copy files and directories. |
19 | //config: | 19 | //config: |
20 | //config:config FEATURE_CP_LONG_OPTIONS | 20 | //config:config FEATURE_CP_LONG_OPTIONS |
21 | //config: bool "Enable long options" | 21 | //config: bool "Enable long options" |
22 | //config: default y | 22 | //config: default y |
23 | //config: depends on CP && LONG_OPTS | 23 | //config: depends on CP && LONG_OPTS |
24 | //config: help | 24 | //config: help |
25 | //config: Enable long options. | 25 | //config: Enable long options. |
26 | //config: Also add support for --parents option. | 26 | //config: Also add support for --parents option. |
27 | 27 | ||
28 | //applet:IF_CP(APPLET_NOEXEC(cp, cp, BB_DIR_BIN, BB_SUID_DROP, cp)) | 28 | //applet:IF_CP(APPLET_NOEXEC(cp, cp, BB_DIR_BIN, BB_SUID_DROP, cp)) |
29 | 29 | ||
diff --git a/coreutils/cut.c b/coreutils/cut.c index 2338702f3..6578ce8ce 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c | |||
@@ -12,8 +12,8 @@ | |||
12 | //config: bool "cut (5.3 kb)" | 12 | //config: bool "cut (5.3 kb)" |
13 | //config: default y | 13 | //config: default y |
14 | //config: help | 14 | //config: help |
15 | //config: cut is used to print selected parts of lines from | 15 | //config: cut is used to print selected parts of lines from |
16 | //config: each file to stdout. | 16 | //config: each file to stdout. |
17 | 17 | ||
18 | //applet:IF_CUT(APPLET_NOEXEC(cut, cut, BB_DIR_USR_BIN, BB_SUID_DROP, cut)) | 18 | //applet:IF_CUT(APPLET_NOEXEC(cut, cut, BB_DIR_USR_BIN, BB_SUID_DROP, cut)) |
19 | 19 | ||
diff --git a/coreutils/date.c b/coreutils/date.c index c658d000b..0fb9f1f00 100644 --- a/coreutils/date.c +++ b/coreutils/date.c | |||
@@ -22,16 +22,16 @@ | |||
22 | //config: bool "date (7.1 kb)" | 22 | //config: bool "date (7.1 kb)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: help | 24 | //config: help |
25 | //config: date is used to set the system date or display the | 25 | //config: date is used to set the system date or display the |
26 | //config: current time in the given format. | 26 | //config: current time in the given format. |
27 | //config: | 27 | //config: |
28 | //config:config FEATURE_DATE_ISOFMT | 28 | //config:config FEATURE_DATE_ISOFMT |
29 | //config: bool "Enable ISO date format output (-I)" | 29 | //config: bool "Enable ISO date format output (-I)" |
30 | //config: default y | 30 | //config: default y |
31 | //config: depends on DATE | 31 | //config: depends on DATE |
32 | //config: help | 32 | //config: help |
33 | //config: Enable option (-I) to output an ISO-8601 compliant | 33 | //config: Enable option (-I) to output an ISO-8601 compliant |
34 | //config: date/time string. | 34 | //config: date/time string. |
35 | //config: | 35 | //config: |
36 | //config:# defaults to "no": stat's nanosecond field is a bit non-portable | 36 | //config:# defaults to "no": stat's nanosecond field is a bit non-portable |
37 | //config:config FEATURE_DATE_NANO | 37 | //config:config FEATURE_DATE_NANO |
@@ -40,23 +40,23 @@ | |||
40 | //config: depends on DATE # syscall(__NR_clock_gettime) | 40 | //config: depends on DATE # syscall(__NR_clock_gettime) |
41 | //config: select PLATFORM_LINUX | 41 | //config: select PLATFORM_LINUX |
42 | //config: help | 42 | //config: help |
43 | //config: Support %[num]N format specifier. Adds ~250 bytes of code. | 43 | //config: Support %[num]N format specifier. Adds ~250 bytes of code. |
44 | //config: | 44 | //config: |
45 | //config:config FEATURE_DATE_COMPAT | 45 | //config:config FEATURE_DATE_COMPAT |
46 | //config: bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format" | 46 | //config: bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format" |
47 | //config: default y | 47 | //config: default y |
48 | //config: depends on DATE | 48 | //config: depends on DATE |
49 | //config: help | 49 | //config: help |
50 | //config: System time can be set by 'date -s DATE' and simply 'date DATE', | 50 | //config: System time can be set by 'date -s DATE' and simply 'date DATE', |
51 | //config: but formats of DATE string are different. 'date DATE' accepts | 51 | //config: but formats of DATE string are different. 'date DATE' accepts |
52 | //config: a rather weird MMDDhhmm[[YY]YY][.ss] format with completely | 52 | //config: a rather weird MMDDhhmm[[YY]YY][.ss] format with completely |
53 | //config: unnatural placement of year between minutes and seconds. | 53 | //config: unnatural placement of year between minutes and seconds. |
54 | //config: date -s (and other commands like touch -d) use more sensible | 54 | //config: date -s (and other commands like touch -d) use more sensible |
55 | //config: formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss). | 55 | //config: formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss). |
56 | //config: | 56 | //config: |
57 | //config: With this option off, 'date DATE' is 'date -s DATE' support | 57 | //config: With this option off, 'date DATE' is 'date -s DATE' support |
58 | //config: the same format. With it on, 'date DATE' additionally supports | 58 | //config: the same format. With it on, 'date DATE' additionally supports |
59 | //config: MMDDhhmm[[YY]YY][.ss] format. | 59 | //config: MMDDhhmm[[YY]YY][.ss] format. |
60 | 60 | ||
61 | //applet:IF_DATE(APPLET(date, BB_DIR_BIN, BB_SUID_DROP)) | 61 | //applet:IF_DATE(APPLET(date, BB_DIR_BIN, BB_SUID_DROP)) |
62 | 62 | ||
diff --git a/coreutils/dd.c b/coreutils/dd.c index 0150aff96..43545c010 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
@@ -10,46 +10,46 @@ | |||
10 | //config: bool "dd (7.1 kb)" | 10 | //config: bool "dd (7.1 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: dd copies a file (from standard input to standard output, | 13 | //config: dd copies a file (from standard input to standard output, |
14 | //config: by default) using specific input and output blocksizes, | 14 | //config: by default) using specific input and output blocksizes, |
15 | //config: while optionally performing conversions on it. | 15 | //config: while optionally performing conversions on it. |
16 | //config: | 16 | //config: |
17 | //config:config FEATURE_DD_SIGNAL_HANDLING | 17 | //config:config FEATURE_DD_SIGNAL_HANDLING |
18 | //config: bool "Enable signal handling for status reporting" | 18 | //config: bool "Enable signal handling for status reporting" |
19 | //config: default y | 19 | //config: default y |
20 | //config: depends on DD | 20 | //config: depends on DD |
21 | //config: help | 21 | //config: help |
22 | //config: Sending a SIGUSR1 signal to a running `dd' process makes it | 22 | //config: Sending a SIGUSR1 signal to a running `dd' process makes it |
23 | //config: print to standard error the number of records read and written | 23 | //config: print to standard error the number of records read and written |
24 | //config: so far, then to resume copying. | 24 | //config: so far, then to resume copying. |
25 | //config: | 25 | //config: |
26 | //config: $ dd if=/dev/zero of=/dev/null & | 26 | //config: $ dd if=/dev/zero of=/dev/null & |
27 | //config: $ pid=$!; kill -USR1 $pid; sleep 1; kill $pid | 27 | //config: $ pid=$!; kill -USR1 $pid; sleep 1; kill $pid |
28 | //config: 10899206+0 records in | 28 | //config: 10899206+0 records in |
29 | //config: 10899206+0 records out | 29 | //config: 10899206+0 records out |
30 | //config: | 30 | //config: |
31 | //config:config FEATURE_DD_THIRD_STATUS_LINE | 31 | //config:config FEATURE_DD_THIRD_STATUS_LINE |
32 | //config: bool "Enable the third status line upon signal" | 32 | //config: bool "Enable the third status line upon signal" |
33 | //config: default y | 33 | //config: default y |
34 | //config: depends on DD && FEATURE_DD_SIGNAL_HANDLING | 34 | //config: depends on DD && FEATURE_DD_SIGNAL_HANDLING |
35 | //config: help | 35 | //config: help |
36 | //config: Displays a coreutils-like third status line with transferred bytes, | 36 | //config: Displays a coreutils-like third status line with transferred bytes, |
37 | //config: elapsed time and speed. | 37 | //config: elapsed time and speed. |
38 | //config: | 38 | //config: |
39 | //config:config FEATURE_DD_IBS_OBS | 39 | //config:config FEATURE_DD_IBS_OBS |
40 | //config: bool "Enable ibs, obs and conv options" | 40 | //config: bool "Enable ibs, obs and conv options" |
41 | //config: default y | 41 | //config: default y |
42 | //config: depends on DD | 42 | //config: depends on DD |
43 | //config: help | 43 | //config: help |
44 | //config: Enable support for writing a certain number of bytes in and out, | 44 | //config: Enable support for writing a certain number of bytes in and out, |
45 | //config: at a time, and performing conversions on the data stream. | 45 | //config: at a time, and performing conversions on the data stream. |
46 | //config: | 46 | //config: |
47 | //config:config FEATURE_DD_STATUS | 47 | //config:config FEATURE_DD_STATUS |
48 | //config: bool "Enable status display options" | 48 | //config: bool "Enable status display options" |
49 | //config: default y | 49 | //config: default y |
50 | //config: depends on DD | 50 | //config: depends on DD |
51 | //config: help | 51 | //config: help |
52 | //config: Enable support for status=noxfer/none option. | 52 | //config: Enable support for status=noxfer/none option. |
53 | 53 | ||
54 | //applet:IF_DD(APPLET_NOEXEC(dd, dd, BB_DIR_BIN, BB_SUID_DROP, dd)) | 54 | //applet:IF_DD(APPLET_NOEXEC(dd, dd, BB_DIR_BIN, BB_SUID_DROP, dd)) |
55 | 55 | ||
diff --git a/coreutils/df.c b/coreutils/df.c index 900c57ea2..27dd2b5a8 100644 --- a/coreutils/df.c +++ b/coreutils/df.c | |||
@@ -21,17 +21,17 @@ | |||
21 | //config: bool "df (7.5 kb)" | 21 | //config: bool "df (7.5 kb)" |
22 | //config: default y | 22 | //config: default y |
23 | //config: help | 23 | //config: help |
24 | //config: df reports the amount of disk space used and available | 24 | //config: df reports the amount of disk space used and available |
25 | //config: on filesystems. | 25 | //config: on filesystems. |
26 | //config: | 26 | //config: |
27 | //config:config FEATURE_DF_FANCY | 27 | //config:config FEATURE_DF_FANCY |
28 | //config: bool "Enable -a, -i, -B" | 28 | //config: bool "Enable -a, -i, -B" |
29 | //config: default y | 29 | //config: default y |
30 | //config: depends on DF | 30 | //config: depends on DF |
31 | //config: help | 31 | //config: help |
32 | //config: -a Show all filesystems | 32 | //config: -a Show all filesystems |
33 | //config: -i Inodes | 33 | //config: -i Inodes |
34 | //config: -B <SIZE> Blocksize | 34 | //config: -B <SIZE> Blocksize |
35 | 35 | ||
36 | //applet:IF_DF(APPLET(df, BB_DIR_BIN, BB_SUID_DROP)) | 36 | //applet:IF_DF(APPLET(df, BB_DIR_BIN, BB_SUID_DROP)) |
37 | 37 | ||
diff --git a/coreutils/dirname.c b/coreutils/dirname.c index 7fa31365f..511267b78 100644 --- a/coreutils/dirname.c +++ b/coreutils/dirname.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "dirname (289 bytes)" | 10 | //config: bool "dirname (289 bytes)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: dirname is used to strip a non-directory suffix from | 13 | //config: dirname is used to strip a non-directory suffix from |
14 | //config: a file name. | 14 | //config: a file name. |
15 | 15 | ||
16 | //applet:IF_DIRNAME(APPLET_NOFORK(dirname, dirname, BB_DIR_USR_BIN, BB_SUID_DROP, dirname)) | 16 | //applet:IF_DIRNAME(APPLET_NOFORK(dirname, dirname, BB_DIR_USR_BIN, BB_SUID_DROP, dirname)) |
17 | 17 | ||
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index e595bf558..a3d008051 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c | |||
@@ -15,15 +15,15 @@ | |||
15 | //config: bool "dos2unix (5.1 kb)" | 15 | //config: bool "dos2unix (5.1 kb)" |
16 | //config: default y | 16 | //config: default y |
17 | //config: help | 17 | //config: help |
18 | //config: dos2unix is used to convert a text file from DOS format to | 18 | //config: dos2unix is used to convert a text file from DOS format to |
19 | //config: UNIX format, and vice versa. | 19 | //config: UNIX format, and vice versa. |
20 | //config: | 20 | //config: |
21 | //config:config UNIX2DOS | 21 | //config:config UNIX2DOS |
22 | //config: bool "unix2dos (5.1 kb)" | 22 | //config: bool "unix2dos (5.1 kb)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: help | 24 | //config: help |
25 | //config: unix2dos is used to convert a text file from UNIX format to | 25 | //config: unix2dos is used to convert a text file from UNIX format to |
26 | //config: DOS format, and vice versa. | 26 | //config: DOS format, and vice versa. |
27 | 27 | ||
28 | //applet:IF_DOS2UNIX(APPLET_NOEXEC(dos2unix, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, dos2unix)) | 28 | //applet:IF_DOS2UNIX(APPLET_NOEXEC(dos2unix, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, dos2unix)) |
29 | //applet:IF_UNIX2DOS(APPLET_NOEXEC(unix2dos, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, unix2dos)) | 29 | //applet:IF_UNIX2DOS(APPLET_NOEXEC(unix2dos, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, unix2dos)) |
diff --git a/coreutils/du.c b/coreutils/du.c index 03e31a0e4..947c46e74 100644 --- a/coreutils/du.c +++ b/coreutils/du.c | |||
@@ -22,15 +22,15 @@ | |||
22 | //config: bool "du (default blocksize of 512 bytes)" | 22 | //config: bool "du (default blocksize of 512 bytes)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: help | 24 | //config: help |
25 | //config: du is used to report the amount of disk space used | 25 | //config: du is used to report the amount of disk space used |
26 | //config: for specified files. | 26 | //config: for specified files. |
27 | //config: | 27 | //config: |
28 | //config:config FEATURE_DU_DEFAULT_BLOCKSIZE_1K | 28 | //config:config FEATURE_DU_DEFAULT_BLOCKSIZE_1K |
29 | //config: bool "Use a default blocksize of 1024 bytes (1K)" | 29 | //config: bool "Use a default blocksize of 1024 bytes (1K)" |
30 | //config: default y | 30 | //config: default y |
31 | //config: depends on DU | 31 | //config: depends on DU |
32 | //config: help | 32 | //config: help |
33 | //config: Use a blocksize of (1K) instead of the default 512b. | 33 | //config: Use a blocksize of (1K) instead of the default 512b. |
34 | 34 | ||
35 | //applet:IF_DU(APPLET(du, BB_DIR_USR_BIN, BB_SUID_DROP)) | 35 | //applet:IF_DU(APPLET(du, BB_DIR_USR_BIN, BB_SUID_DROP)) |
36 | 36 | ||
diff --git a/coreutils/echo.c b/coreutils/echo.c index a7e4ca9ac..af33319a1 100644 --- a/coreutils/echo.c +++ b/coreutils/echo.c | |||
@@ -22,7 +22,7 @@ | |||
22 | //config: bool "echo (basic SuSv3 version taking no options)" | 22 | //config: bool "echo (basic SuSv3 version taking no options)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: help | 24 | //config: help |
25 | //config: echo is used to print a specified string to stdout. | 25 | //config: echo is used to print a specified string to stdout. |
26 | //config: | 26 | //config: |
27 | //config:# this entry also appears in shell/Config.in, next to the echo builtin | 27 | //config:# this entry also appears in shell/Config.in, next to the echo builtin |
28 | //config:config FEATURE_FANCY_ECHO | 28 | //config:config FEATURE_FANCY_ECHO |
diff --git a/coreutils/env.c b/coreutils/env.c index 7037a44c2..8def9c2da 100644 --- a/coreutils/env.c +++ b/coreutils/env.c | |||
@@ -27,9 +27,9 @@ | |||
27 | //config: bool "env (3.8 kb)" | 27 | //config: bool "env (3.8 kb)" |
28 | //config: default y | 28 | //config: default y |
29 | //config: help | 29 | //config: help |
30 | //config: env is used to set an environment variable and run | 30 | //config: env is used to set an environment variable and run |
31 | //config: a command; without options it displays the current | 31 | //config: a command; without options it displays the current |
32 | //config: environment. | 32 | //config: environment. |
33 | //config: | 33 | //config: |
34 | //config:config FEATURE_ENV_LONG_OPTIONS | 34 | //config:config FEATURE_ENV_LONG_OPTIONS |
35 | //config: bool "Enable long options" | 35 | //config: bool "Enable long options" |
diff --git a/coreutils/expand.c b/coreutils/expand.c index dff0ce558..64f2a539d 100644 --- a/coreutils/expand.c +++ b/coreutils/expand.c | |||
@@ -24,7 +24,7 @@ | |||
24 | //config: bool "expand (5.8 kb)" | 24 | //config: bool "expand (5.8 kb)" |
25 | //config: default y | 25 | //config: default y |
26 | //config: help | 26 | //config: help |
27 | //config: By default, convert all tabs to spaces. | 27 | //config: By default, convert all tabs to spaces. |
28 | //config: | 28 | //config: |
29 | //config:config FEATURE_EXPAND_LONG_OPTIONS | 29 | //config:config FEATURE_EXPAND_LONG_OPTIONS |
30 | //config: bool "Enable long options" | 30 | //config: bool "Enable long options" |
@@ -35,7 +35,7 @@ | |||
35 | //config: bool "unexpand (6 kb)" | 35 | //config: bool "unexpand (6 kb)" |
36 | //config: default y | 36 | //config: default y |
37 | //config: help | 37 | //config: help |
38 | //config: By default, convert only leading sequences of blanks to tabs. | 38 | //config: By default, convert only leading sequences of blanks to tabs. |
39 | //config: | 39 | //config: |
40 | //config:config FEATURE_UNEXPAND_LONG_OPTIONS | 40 | //config:config FEATURE_UNEXPAND_LONG_OPTIONS |
41 | //config: bool "Enable long options" | 41 | //config: bool "Enable long options" |
diff --git a/coreutils/expr.c b/coreutils/expr.c index ecb7534b2..a2bbfdd69 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c | |||
@@ -26,17 +26,17 @@ | |||
26 | //config: bool "expr (6.1 kb)" | 26 | //config: bool "expr (6.1 kb)" |
27 | //config: default y | 27 | //config: default y |
28 | //config: help | 28 | //config: help |
29 | //config: expr is used to calculate numbers and print the result | 29 | //config: expr is used to calculate numbers and print the result |
30 | //config: to standard output. | 30 | //config: to standard output. |
31 | //config: | 31 | //config: |
32 | //config:config EXPR_MATH_SUPPORT_64 | 32 | //config:config EXPR_MATH_SUPPORT_64 |
33 | //config: bool "Extend Posix numbers support to 64 bit" | 33 | //config: bool "Extend Posix numbers support to 64 bit" |
34 | //config: default y | 34 | //config: default y |
35 | //config: depends on EXPR | 35 | //config: depends on EXPR |
36 | //config: help | 36 | //config: help |
37 | //config: Enable 64-bit math support in the expr applet. This will make | 37 | //config: Enable 64-bit math support in the expr applet. This will make |
38 | //config: the applet slightly larger, but will allow computation with very | 38 | //config: the applet slightly larger, but will allow computation with very |
39 | //config: large numbers. | 39 | //config: large numbers. |
40 | 40 | ||
41 | //applet:IF_EXPR(APPLET(expr, BB_DIR_USR_BIN, BB_SUID_DROP)) | 41 | //applet:IF_EXPR(APPLET(expr, BB_DIR_USR_BIN, BB_SUID_DROP)) |
42 | 42 | ||
diff --git a/coreutils/factor.c b/coreutils/factor.c index 4ccc3fee4..467e23a4d 100644 --- a/coreutils/factor.c +++ b/coreutils/factor.c | |||
@@ -7,7 +7,7 @@ | |||
7 | //config: bool "factor (2.6 kb)" | 7 | //config: bool "factor (2.6 kb)" |
8 | //config: default y | 8 | //config: default y |
9 | //config: help | 9 | //config: help |
10 | //config: factor factorizes integers | 10 | //config: factor factorizes integers |
11 | 11 | ||
12 | //applet:IF_FACTOR(APPLET(factor, BB_DIR_USR_BIN, BB_SUID_DROP)) | 12 | //applet:IF_FACTOR(APPLET(factor, BB_DIR_USR_BIN, BB_SUID_DROP)) |
13 | 13 | ||
diff --git a/coreutils/false.c b/coreutils/false.c index 171ad813b..e3903efd0 100644 --- a/coreutils/false.c +++ b/coreutils/false.c | |||
@@ -10,7 +10,7 @@ | |||
10 | //config: bool "false (tiny)" | 10 | //config: bool "false (tiny)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: false returns an exit code of FALSE (1). | 13 | //config: false returns an exit code of FALSE (1). |
14 | 14 | ||
15 | //applet:IF_FALSE(APPLET_NOFORK(false, false, BB_DIR_BIN, BB_SUID_DROP, false)) | 15 | //applet:IF_FALSE(APPLET_NOFORK(false, false, BB_DIR_BIN, BB_SUID_DROP, false)) |
16 | 16 | ||
diff --git a/coreutils/fold.c b/coreutils/fold.c index 35905f3df..286db228d 100644 --- a/coreutils/fold.c +++ b/coreutils/fold.c | |||
@@ -13,7 +13,7 @@ | |||
13 | //config: bool "fold (4.6 kb)" | 13 | //config: bool "fold (4.6 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: help | 15 | //config: help |
16 | //config: Wrap text to fit a specific width. | 16 | //config: Wrap text to fit a specific width. |
17 | 17 | ||
18 | //applet:IF_FOLD(APPLET_NOEXEC(fold, fold, BB_DIR_USR_BIN, BB_SUID_DROP, fold)) | 18 | //applet:IF_FOLD(APPLET_NOEXEC(fold, fold, BB_DIR_USR_BIN, BB_SUID_DROP, fold)) |
19 | 19 | ||
diff --git a/coreutils/fsync.c b/coreutils/fsync.c index 8524047a5..5e77e2c16 100644 --- a/coreutils/fsync.c +++ b/coreutils/fsync.c | |||
@@ -10,7 +10,7 @@ | |||
10 | //config: bool "fsync (3.7 kb)" | 10 | //config: bool "fsync (3.7 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: fsync is used to flush file-related cached blocks to disk. | 13 | //config: fsync is used to flush file-related cached blocks to disk. |
14 | 14 | ||
15 | //applet:IF_FSYNC(APPLET_NOFORK(fsync, fsync, BB_DIR_BIN, BB_SUID_DROP, fsync)) | 15 | //applet:IF_FSYNC(APPLET_NOFORK(fsync, fsync, BB_DIR_BIN, BB_SUID_DROP, fsync)) |
16 | 16 | ||
diff --git a/coreutils/head.c b/coreutils/head.c index b4b16abea..fc3a48d5b 100644 --- a/coreutils/head.c +++ b/coreutils/head.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "head (3.7 kb)" | 10 | //config: bool "head (3.7 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: head is used to print the first specified number of lines | 13 | //config: head is used to print the first specified number of lines |
14 | //config: from files. | 14 | //config: from files. |
15 | //config: | 15 | //config: |
16 | //config:config FEATURE_FANCY_HEAD | 16 | //config:config FEATURE_FANCY_HEAD |
17 | //config: bool "Enable -c, -q, and -v" | 17 | //config: bool "Enable -c, -q, and -v" |
diff --git a/coreutils/hostid.c b/coreutils/hostid.c index 790384c95..d21e6d6ac 100644 --- a/coreutils/hostid.c +++ b/coreutils/hostid.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "hostid (247 bytes)" | 10 | //config: bool "hostid (247 bytes)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: hostid prints the numeric identifier (in hexadecimal) for | 13 | //config: hostid prints the numeric identifier (in hexadecimal) for |
14 | //config: the current host. | 14 | //config: the current host. |
15 | 15 | ||
16 | //applet:IF_HOSTID(APPLET_NOFORK(hostid, hostid, BB_DIR_USR_BIN, BB_SUID_DROP, hostid)) | 16 | //applet:IF_HOSTID(APPLET_NOFORK(hostid, hostid, BB_DIR_USR_BIN, BB_SUID_DROP, hostid)) |
17 | 17 | ||
diff --git a/coreutils/id.c b/coreutils/id.c index 93ca0acf6..6043bca61 100644 --- a/coreutils/id.c +++ b/coreutils/id.c | |||
@@ -16,13 +16,13 @@ | |||
16 | //config: bool "id (6.7 kb)" | 16 | //config: bool "id (6.7 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: help | 18 | //config: help |
19 | //config: id displays the current user and group ID names. | 19 | //config: id displays the current user and group ID names. |
20 | //config: | 20 | //config: |
21 | //config:config GROUPS | 21 | //config:config GROUPS |
22 | //config: bool "groups (6.5 kb)" | 22 | //config: bool "groups (6.5 kb)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: help | 24 | //config: help |
25 | //config: Print the group names associated with current user id. | 25 | //config: Print the group names associated with current user id. |
26 | 26 | ||
27 | //applet:IF_GROUPS(APPLET_NOEXEC(groups, id, BB_DIR_USR_BIN, BB_SUID_DROP, groups)) | 27 | //applet:IF_GROUPS(APPLET_NOEXEC(groups, id, BB_DIR_USR_BIN, BB_SUID_DROP, groups)) |
28 | //applet:IF_ID( APPLET_NOEXEC(id, id, BB_DIR_USR_BIN, BB_SUID_DROP, id )) | 28 | //applet:IF_ID( APPLET_NOEXEC(id, id, BB_DIR_USR_BIN, BB_SUID_DROP, id )) |
diff --git a/coreutils/install.c b/coreutils/install.c index 4c44f0d4d..a1342bb13 100644 --- a/coreutils/install.c +++ b/coreutils/install.c | |||
@@ -9,7 +9,7 @@ | |||
9 | //config: bool "install (12 kb)" | 9 | //config: bool "install (12 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: Copy files and set attributes. | 12 | //config: Copy files and set attributes. |
13 | //config: | 13 | //config: |
14 | //config:config FEATURE_INSTALL_LONG_OPTIONS | 14 | //config:config FEATURE_INSTALL_LONG_OPTIONS |
15 | //config: bool "Enable long options" | 15 | //config: bool "Enable long options" |
diff --git a/coreutils/link.c b/coreutils/link.c index c6417fef8..56832fdf6 100644 --- a/coreutils/link.c +++ b/coreutils/link.c | |||
@@ -9,7 +9,7 @@ | |||
9 | //config: bool "link (3.1 kb)" | 9 | //config: bool "link (3.1 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: link creates hard links between files. | 12 | //config: link creates hard links between files. |
13 | 13 | ||
14 | //applet:IF_LINK(APPLET_NOFORK(link, link, BB_DIR_BIN, BB_SUID_DROP, link)) | 14 | //applet:IF_LINK(APPLET_NOFORK(link, link, BB_DIR_BIN, BB_SUID_DROP, link)) |
15 | 15 | ||
diff --git a/coreutils/ln.c b/coreutils/ln.c index 0bd323b2a..fed96af42 100644 --- a/coreutils/ln.c +++ b/coreutils/ln.c | |||
@@ -10,7 +10,7 @@ | |||
10 | //config: bool "ln (4.5 kb)" | 10 | //config: bool "ln (4.5 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: ln is used to create hard or soft links between files. | 13 | //config: ln is used to create hard or soft links between files. |
14 | 14 | ||
15 | //applet:IF_LN(APPLET_NOEXEC(ln, ln, BB_DIR_BIN, BB_SUID_DROP, ln)) | 15 | //applet:IF_LN(APPLET_NOEXEC(ln, ln, BB_DIR_BIN, BB_SUID_DROP, ln)) |
16 | 16 | ||
diff --git a/coreutils/logname.c b/coreutils/logname.c index bf3748338..e614ca7cf 100644 --- a/coreutils/logname.c +++ b/coreutils/logname.c | |||
@@ -19,7 +19,7 @@ | |||
19 | //config: bool "logname (894 bytes)" | 19 | //config: bool "logname (894 bytes)" |
20 | //config: default y | 20 | //config: default y |
21 | //config: help | 21 | //config: help |
22 | //config: logname is used to print the current user's login name. | 22 | //config: logname is used to print the current user's login name. |
23 | 23 | ||
24 | //applet:IF_LOGNAME(APPLET_NOFORK(logname, logname, BB_DIR_USR_BIN, BB_SUID_DROP, logname)) | 24 | //applet:IF_LOGNAME(APPLET_NOFORK(logname, logname, BB_DIR_USR_BIN, BB_SUID_DROP, logname)) |
25 | 25 | ||
diff --git a/coreutils/ls.c b/coreutils/ls.c index cf5228745..0fe0345b3 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -31,7 +31,7 @@ | |||
31 | //config: bool "ls (14 kb)" | 31 | //config: bool "ls (14 kb)" |
32 | //config: default y | 32 | //config: default y |
33 | //config: help | 33 | //config: help |
34 | //config: ls is used to list the contents of directories. | 34 | //config: ls is used to list the contents of directories. |
35 | //config: | 35 | //config: |
36 | //config:config FEATURE_LS_FILETYPES | 36 | //config:config FEATURE_LS_FILETYPES |
37 | //config: bool "Enable filetyping options (-p and -F)" | 37 | //config: bool "Enable filetyping options (-p and -F)" |
@@ -58,39 +58,39 @@ | |||
58 | //config: default y | 58 | //config: default y |
59 | //config: depends on LS | 59 | //config: depends on LS |
60 | //config: help | 60 | //config: help |
61 | //config: Allow ls to sort file names alphabetically. | 61 | //config: Allow ls to sort file names alphabetically. |
62 | //config: | 62 | //config: |
63 | //config:config FEATURE_LS_TIMESTAMPS | 63 | //config:config FEATURE_LS_TIMESTAMPS |
64 | //config: bool "Show file timestamps" | 64 | //config: bool "Show file timestamps" |
65 | //config: default y | 65 | //config: default y |
66 | //config: depends on LS | 66 | //config: depends on LS |
67 | //config: help | 67 | //config: help |
68 | //config: Allow ls to display timestamps for files. | 68 | //config: Allow ls to display timestamps for files. |
69 | //config: | 69 | //config: |
70 | //config:config FEATURE_LS_USERNAME | 70 | //config:config FEATURE_LS_USERNAME |
71 | //config: bool "Show username/groupnames" | 71 | //config: bool "Show username/groupnames" |
72 | //config: default y | 72 | //config: default y |
73 | //config: depends on LS | 73 | //config: depends on LS |
74 | //config: help | 74 | //config: help |
75 | //config: Allow ls to display username/groupname for files. | 75 | //config: Allow ls to display username/groupname for files. |
76 | //config: | 76 | //config: |
77 | //config:config FEATURE_LS_COLOR | 77 | //config:config FEATURE_LS_COLOR |
78 | //config: bool "Allow use of color to identify file types" | 78 | //config: bool "Allow use of color to identify file types" |
79 | //config: default y | 79 | //config: default y |
80 | //config: depends on LS && LONG_OPTS | 80 | //config: depends on LS && LONG_OPTS |
81 | //config: help | 81 | //config: help |
82 | //config: This enables the --color option to ls. | 82 | //config: This enables the --color option to ls. |
83 | //config: | 83 | //config: |
84 | //config:config FEATURE_LS_COLOR_IS_DEFAULT | 84 | //config:config FEATURE_LS_COLOR_IS_DEFAULT |
85 | //config: bool "Produce colored ls output by default" | 85 | //config: bool "Produce colored ls output by default" |
86 | //config: default y | 86 | //config: default y |
87 | //config: depends on FEATURE_LS_COLOR | 87 | //config: depends on FEATURE_LS_COLOR |
88 | //config: help | 88 | //config: help |
89 | //config: Saying yes here will turn coloring on by default, | 89 | //config: Saying yes here will turn coloring on by default, |
90 | //config: even if no "--color" option is given to the ls command. | 90 | //config: even if no "--color" option is given to the ls command. |
91 | //config: This is not recommended, since the colors are not | 91 | //config: This is not recommended, since the colors are not |
92 | //config: configurable, and the output may not be legible on | 92 | //config: configurable, and the output may not be legible on |
93 | //config: many output screens. | 93 | //config: many output screens. |
94 | 94 | ||
95 | //applet:IF_LS(APPLET_NOEXEC(ls, ls, BB_DIR_BIN, BB_SUID_DROP, ls)) | 95 | //applet:IF_LS(APPLET_NOEXEC(ls, ls, BB_DIR_BIN, BB_SUID_DROP, ls)) |
96 | 96 | ||
diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index 6d08d2e40..bcccdd64f 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c | |||
@@ -9,31 +9,31 @@ | |||
9 | //config: bool "md5sum (6.8 kb)" | 9 | //config: bool "md5sum (6.8 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: md5sum is used to print or check MD5 checksums. | 12 | //config: md5sum is used to print or check MD5 checksums. |
13 | //config: | 13 | //config: |
14 | //config:config SHA1SUM | 14 | //config:config SHA1SUM |
15 | //config: bool "sha1sum (6 kb)" | 15 | //config: bool "sha1sum (6 kb)" |
16 | //config: default y | 16 | //config: default y |
17 | //config: help | 17 | //config: help |
18 | //config: Compute and check SHA1 message digest | 18 | //config: Compute and check SHA1 message digest |
19 | //config: | 19 | //config: |
20 | //config:config SHA256SUM | 20 | //config:config SHA256SUM |
21 | //config: bool "sha256sum (7.1 kb)" | 21 | //config: bool "sha256sum (7.1 kb)" |
22 | //config: default y | 22 | //config: default y |
23 | //config: help | 23 | //config: help |
24 | //config: Compute and check SHA256 message digest | 24 | //config: Compute and check SHA256 message digest |
25 | //config: | 25 | //config: |
26 | //config:config SHA512SUM | 26 | //config:config SHA512SUM |
27 | //config: bool "sha512sum (7.6 kb)" | 27 | //config: bool "sha512sum (7.6 kb)" |
28 | //config: default y | 28 | //config: default y |
29 | //config: help | 29 | //config: help |
30 | //config: Compute and check SHA512 message digest | 30 | //config: Compute and check SHA512 message digest |
31 | //config: | 31 | //config: |
32 | //config:config SHA3SUM | 32 | //config:config SHA3SUM |
33 | //config: bool "sha3sum (6.3 kb)" | 33 | //config: bool "sha3sum (6.3 kb)" |
34 | //config: default y | 34 | //config: default y |
35 | //config: help | 35 | //config: help |
36 | //config: Compute and check SHA3 message digest | 36 | //config: Compute and check SHA3 message digest |
37 | //config: | 37 | //config: |
38 | //config:comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum" | 38 | //config:comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum" |
39 | //config: depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM | 39 | //config: depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM |
@@ -43,9 +43,9 @@ | |||
43 | //config: default y | 43 | //config: default y |
44 | //config: depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM | 44 | //config: depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM |
45 | //config: help | 45 | //config: help |
46 | //config: Enabling the -c options allows files to be checked | 46 | //config: Enabling the -c options allows files to be checked |
47 | //config: against pre-calculated hash values. | 47 | //config: against pre-calculated hash values. |
48 | //config: -s and -w are useful options when verifying checksums. | 48 | //config: -s and -w are useful options when verifying checksums. |
49 | 49 | ||
50 | //applet:IF_MD5SUM(APPLET_NOEXEC(md5sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, md5sum)) | 50 | //applet:IF_MD5SUM(APPLET_NOEXEC(md5sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, md5sum)) |
51 | //applet:IF_SHA1SUM(APPLET_NOEXEC(sha1sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha1sum)) | 51 | //applet:IF_SHA1SUM(APPLET_NOEXEC(sha1sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha1sum)) |
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c index d0b74bfde..22851187c 100644 --- a/coreutils/mkdir.c +++ b/coreutils/mkdir.c | |||
@@ -17,7 +17,7 @@ | |||
17 | //config: bool "mkdir (4.4 kb)" | 17 | //config: bool "mkdir (4.4 kb)" |
18 | //config: default y | 18 | //config: default y |
19 | //config: help | 19 | //config: help |
20 | //config: mkdir is used to create directories with the specified names. | 20 | //config: mkdir is used to create directories with the specified names. |
21 | //config: | 21 | //config: |
22 | //config:config FEATURE_MKDIR_LONG_OPTIONS | 22 | //config:config FEATURE_MKDIR_LONG_OPTIONS |
23 | //config: bool "Enable long options" | 23 | //config: bool "Enable long options" |
diff --git a/coreutils/mkfifo.c b/coreutils/mkfifo.c index 8a2f20553..0f614017e 100644 --- a/coreutils/mkfifo.c +++ b/coreutils/mkfifo.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "mkfifo (3.7 kb)" | 10 | //config: bool "mkfifo (3.7 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: mkfifo is used to create FIFOs (named pipes). | 13 | //config: mkfifo is used to create FIFOs (named pipes). |
14 | //config: The 'mknod' program can also create FIFOs. | 14 | //config: The 'mknod' program can also create FIFOs. |
15 | 15 | ||
16 | //applet:IF_MKFIFO(APPLET_NOEXEC(mkfifo, mkfifo, BB_DIR_USR_BIN, BB_SUID_DROP, mkfifo)) | 16 | //applet:IF_MKFIFO(APPLET_NOEXEC(mkfifo, mkfifo, BB_DIR_USR_BIN, BB_SUID_DROP, mkfifo)) |
17 | 17 | ||
diff --git a/coreutils/mknod.c b/coreutils/mknod.c index 321415e17..565b33d20 100644 --- a/coreutils/mknod.c +++ b/coreutils/mknod.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "mknod (4 kb)" | 10 | //config: bool "mknod (4 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: mknod is used to create FIFOs or block/character special | 13 | //config: mknod is used to create FIFOs or block/character special |
14 | //config: files with the specified names. | 14 | //config: files with the specified names. |
15 | 15 | ||
16 | //applet:IF_MKNOD(APPLET_NOEXEC(mknod, mknod, BB_DIR_BIN, BB_SUID_DROP, mknod)) | 16 | //applet:IF_MKNOD(APPLET_NOEXEC(mknod, mknod, BB_DIR_BIN, BB_SUID_DROP, mknod)) |
17 | 17 | ||
diff --git a/coreutils/mktemp.c b/coreutils/mktemp.c index 3e35befeb..bfef0b4a6 100644 --- a/coreutils/mktemp.c +++ b/coreutils/mktemp.c | |||
@@ -34,7 +34,7 @@ | |||
34 | //config: bool "mktemp (4 kb)" | 34 | //config: bool "mktemp (4 kb)" |
35 | //config: default y | 35 | //config: default y |
36 | //config: help | 36 | //config: help |
37 | //config: mktemp is used to create unique temporary files | 37 | //config: mktemp is used to create unique temporary files |
38 | 38 | ||
39 | //applet:IF_MKTEMP(APPLET(mktemp, BB_DIR_BIN, BB_SUID_DROP)) | 39 | //applet:IF_MKTEMP(APPLET(mktemp, BB_DIR_BIN, BB_SUID_DROP)) |
40 | 40 | ||
diff --git a/coreutils/mv.c b/coreutils/mv.c index d620c43ab..147dd3bb2 100644 --- a/coreutils/mv.c +++ b/coreutils/mv.c | |||
@@ -15,7 +15,7 @@ | |||
15 | //config: bool "mv (9.8 kb)" | 15 | //config: bool "mv (9.8 kb)" |
16 | //config: default y | 16 | //config: default y |
17 | //config: help | 17 | //config: help |
18 | //config: mv is used to move or rename files or directories. | 18 | //config: mv is used to move or rename files or directories. |
19 | //config: | 19 | //config: |
20 | //config:config FEATURE_MV_LONG_OPTIONS | 20 | //config:config FEATURE_MV_LONG_OPTIONS |
21 | //config: bool "Enable long options" | 21 | //config: bool "Enable long options" |
diff --git a/coreutils/nice.c b/coreutils/nice.c index e30242ffa..0bf055299 100644 --- a/coreutils/nice.c +++ b/coreutils/nice.c | |||
@@ -10,7 +10,7 @@ | |||
10 | //config: bool "nice (1.8 kb)" | 10 | //config: bool "nice (1.8 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: nice runs a program with modified scheduling priority. | 13 | //config: nice runs a program with modified scheduling priority. |
14 | 14 | ||
15 | //applet:IF_NICE(APPLET(nice, BB_DIR_BIN, BB_SUID_DROP)) | 15 | //applet:IF_NICE(APPLET(nice, BB_DIR_BIN, BB_SUID_DROP)) |
16 | 16 | ||
diff --git a/coreutils/nl.c b/coreutils/nl.c index 9f303fe6c..93e78c490 100644 --- a/coreutils/nl.c +++ b/coreutils/nl.c | |||
@@ -8,7 +8,7 @@ | |||
8 | //config: bool "nl (4.3 kb)" | 8 | //config: bool "nl (4.3 kb)" |
9 | //config: default y | 9 | //config: default y |
10 | //config: help | 10 | //config: help |
11 | //config: nl is used to number lines of files. | 11 | //config: nl is used to number lines of files. |
12 | 12 | ||
13 | //applet:IF_NL(APPLET(nl, BB_DIR_USR_BIN, BB_SUID_DROP)) | 13 | //applet:IF_NL(APPLET(nl, BB_DIR_USR_BIN, BB_SUID_DROP)) |
14 | 14 | ||
diff --git a/coreutils/nohup.c b/coreutils/nohup.c index 4366cdc8d..8e28f9029 100644 --- a/coreutils/nohup.c +++ b/coreutils/nohup.c | |||
@@ -13,7 +13,7 @@ | |||
13 | //config: bool "nohup (2 kb)" | 13 | //config: bool "nohup (2 kb)" |
14 | //config: default y | 14 | //config: default y |
15 | //config: help | 15 | //config: help |
16 | //config: run a command immune to hangups, with output to a non-tty. | 16 | //config: run a command immune to hangups, with output to a non-tty. |
17 | 17 | ||
18 | //applet:IF_NOHUP(APPLET(nohup, BB_DIR_USR_BIN, BB_SUID_DROP)) | 18 | //applet:IF_NOHUP(APPLET(nohup, BB_DIR_USR_BIN, BB_SUID_DROP)) |
19 | 19 | ||
diff --git a/coreutils/nproc.c b/coreutils/nproc.c index 7144f73e8..68a831865 100644 --- a/coreutils/nproc.c +++ b/coreutils/nproc.c | |||
@@ -7,7 +7,7 @@ | |||
7 | //config: bool "nproc (248 bytes)" | 7 | //config: bool "nproc (248 bytes)" |
8 | //config: default y | 8 | //config: default y |
9 | //config: help | 9 | //config: help |
10 | //config: Print number of CPUs | 10 | //config: Print number of CPUs |
11 | 11 | ||
12 | //applet:IF_NPROC(APPLET(nproc, BB_DIR_USR_BIN, BB_SUID_DROP)) | 12 | //applet:IF_NPROC(APPLET(nproc, BB_DIR_USR_BIN, BB_SUID_DROP)) |
13 | 13 | ||
diff --git a/coreutils/od.c b/coreutils/od.c index edcd12a54..e3a68435b 100644 --- a/coreutils/od.c +++ b/coreutils/od.c | |||
@@ -14,7 +14,7 @@ | |||
14 | //config: bool "od (11 kb)" | 14 | //config: bool "od (11 kb)" |
15 | //config: default y | 15 | //config: default y |
16 | //config: help | 16 | //config: help |
17 | //config: od is used to dump binary files in octal and other formats. | 17 | //config: od is used to dump binary files in octal and other formats. |
18 | 18 | ||
19 | //applet:IF_OD(APPLET(od, BB_DIR_USR_BIN, BB_SUID_DROP)) | 19 | //applet:IF_OD(APPLET(od, BB_DIR_USR_BIN, BB_SUID_DROP)) |
20 | 20 | ||
diff --git a/coreutils/paste.c b/coreutils/paste.c index e4e9c7565..52f67f951 100644 --- a/coreutils/paste.c +++ b/coreutils/paste.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "paste (4.5 kb)" | 10 | //config: bool "paste (4.5 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: paste is used to paste lines of different files together | 13 | //config: paste is used to paste lines of different files together |
14 | //config: and write the result to stdout | 14 | //config: and write the result to stdout |
15 | 15 | ||
16 | //applet:IF_PASTE(APPLET_NOEXEC(paste, paste, BB_DIR_USR_BIN, BB_SUID_DROP, paste)) | 16 | //applet:IF_PASTE(APPLET_NOEXEC(paste, paste, BB_DIR_USR_BIN, BB_SUID_DROP, paste)) |
17 | 17 | ||
diff --git a/coreutils/printenv.c b/coreutils/printenv.c index 767a27525..b0468b3f7 100644 --- a/coreutils/printenv.c +++ b/coreutils/printenv.c | |||
@@ -11,7 +11,7 @@ | |||
11 | //config: bool "printenv (1 kb)" | 11 | //config: bool "printenv (1 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: printenv is used to print all or part of environment. | 14 | //config: printenv is used to print all or part of environment. |
15 | 15 | ||
16 | //applet:IF_PRINTENV(APPLET_NOFORK(printenv, printenv, BB_DIR_BIN, BB_SUID_DROP, printenv)) | 16 | //applet:IF_PRINTENV(APPLET_NOFORK(printenv, printenv, BB_DIR_BIN, BB_SUID_DROP, printenv)) |
17 | 17 | ||
diff --git a/coreutils/printf.c b/coreutils/printf.c index acaf076ff..d3fc72adb 100644 --- a/coreutils/printf.c +++ b/coreutils/printf.c | |||
@@ -42,8 +42,8 @@ | |||
42 | //config: bool "printf (3.3 kb)" | 42 | //config: bool "printf (3.3 kb)" |
43 | //config: default y | 43 | //config: default y |
44 | //config: help | 44 | //config: help |
45 | //config: printf is used to format and print specified strings. | 45 | //config: printf is used to format and print specified strings. |
46 | //config: It's similar to `echo' except it has more options. | 46 | //config: It's similar to `echo' except it has more options. |
47 | 47 | ||
48 | //applet:IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf)) | 48 | //applet:IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf)) |
49 | 49 | ||
diff --git a/coreutils/pwd.c b/coreutils/pwd.c index e0a195d37..345d85100 100644 --- a/coreutils/pwd.c +++ b/coreutils/pwd.c | |||
@@ -10,7 +10,7 @@ | |||
10 | //config: bool "pwd (3.4 kb)" | 10 | //config: bool "pwd (3.4 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: pwd is used to print the current directory. | 13 | //config: pwd is used to print the current directory. |
14 | 14 | ||
15 | //applet:IF_PWD(APPLET_NOFORK(pwd, pwd, BB_DIR_BIN, BB_SUID_DROP, pwd)) | 15 | //applet:IF_PWD(APPLET_NOFORK(pwd, pwd, BB_DIR_BIN, BB_SUID_DROP, pwd)) |
16 | 16 | ||
diff --git a/coreutils/readlink.c b/coreutils/readlink.c index e593bb9a4..9690290e3 100644 --- a/coreutils/readlink.c +++ b/coreutils/readlink.c | |||
@@ -10,15 +10,15 @@ | |||
10 | //config: bool "readlink (3.6 kb)" | 10 | //config: bool "readlink (3.6 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: This program reads a symbolic link and returns the name | 13 | //config: This program reads a symbolic link and returns the name |
14 | //config: of the file it points to | 14 | //config: of the file it points to |
15 | //config: | 15 | //config: |
16 | //config:config FEATURE_READLINK_FOLLOW | 16 | //config:config FEATURE_READLINK_FOLLOW |
17 | //config: bool "Enable canonicalization by following all symlinks (-f)" | 17 | //config: bool "Enable canonicalization by following all symlinks (-f)" |
18 | //config: default y | 18 | //config: default y |
19 | //config: depends on READLINK | 19 | //config: depends on READLINK |
20 | //config: help | 20 | //config: help |
21 | //config: Enable the readlink option (-f). | 21 | //config: Enable the readlink option (-f). |
22 | 22 | ||
23 | //applet:IF_READLINK(APPLET(readlink, BB_DIR_USR_BIN, BB_SUID_DROP)) | 23 | //applet:IF_READLINK(APPLET(readlink, BB_DIR_USR_BIN, BB_SUID_DROP)) |
24 | 24 | ||
diff --git a/coreutils/realpath.c b/coreutils/realpath.c index a2661c461..6a61c3dc8 100644 --- a/coreutils/realpath.c +++ b/coreutils/realpath.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "realpath (1.1 kb)" | 10 | //config: bool "realpath (1.1 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: Return the canonicalized absolute pathname. | 13 | //config: Return the canonicalized absolute pathname. |
14 | //config: This isn't provided by GNU shellutils, but where else does it belong. | 14 | //config: This isn't provided by GNU shellutils, but where else does it belong. |
15 | 15 | ||
16 | //applet:IF_REALPATH(APPLET(realpath, BB_DIR_USR_BIN, BB_SUID_DROP)) | 16 | //applet:IF_REALPATH(APPLET(realpath, BB_DIR_USR_BIN, BB_SUID_DROP)) |
17 | 17 | ||
diff --git a/coreutils/rm.c b/coreutils/rm.c index 70530a458..f91c94570 100644 --- a/coreutils/rm.c +++ b/coreutils/rm.c | |||
@@ -14,7 +14,7 @@ | |||
14 | //config: bool "rm (4.9 kb)" | 14 | //config: bool "rm (4.9 kb)" |
15 | //config: default y | 15 | //config: default y |
16 | //config: help | 16 | //config: help |
17 | //config: rm is used to remove files or directories. | 17 | //config: rm is used to remove files or directories. |
18 | 18 | ||
19 | //applet:IF_RM(APPLET_NOFORK(rm, rm, BB_DIR_BIN, BB_SUID_DROP, rm)) | 19 | //applet:IF_RM(APPLET_NOFORK(rm, rm, BB_DIR_BIN, BB_SUID_DROP, rm)) |
20 | 20 | ||
diff --git a/coreutils/rmdir.c b/coreutils/rmdir.c index 2486ea67e..c04ce78f8 100644 --- a/coreutils/rmdir.c +++ b/coreutils/rmdir.c | |||
@@ -10,15 +10,15 @@ | |||
10 | //config: bool "rmdir (3.4 kb)" | 10 | //config: bool "rmdir (3.4 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: rmdir is used to remove empty directories. | 13 | //config: rmdir is used to remove empty directories. |
14 | //config: | 14 | //config: |
15 | //config:config FEATURE_RMDIR_LONG_OPTIONS | 15 | //config:config FEATURE_RMDIR_LONG_OPTIONS |
16 | //config: bool "Enable long options" | 16 | //config: bool "Enable long options" |
17 | //config: default y | 17 | //config: default y |
18 | //config: depends on RMDIR && LONG_OPTS | 18 | //config: depends on RMDIR && LONG_OPTS |
19 | //config: help | 19 | //config: help |
20 | //config: Support long options for the rmdir applet, including | 20 | //config: Support long options for the rmdir applet, including |
21 | //config: --ignore-fail-on-non-empty for compatibility with GNU rmdir. | 21 | //config: --ignore-fail-on-non-empty for compatibility with GNU rmdir. |
22 | 22 | ||
23 | //applet:IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, BB_DIR_BIN, BB_SUID_DROP, rmdir)) | 23 | //applet:IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, BB_DIR_BIN, BB_SUID_DROP, rmdir)) |
24 | 24 | ||
diff --git a/coreutils/seq.c b/coreutils/seq.c index c66bed94a..f36dbb4ec 100644 --- a/coreutils/seq.c +++ b/coreutils/seq.c | |||
@@ -10,7 +10,7 @@ | |||
10 | //config: bool "seq (3.6 kb)" | 10 | //config: bool "seq (3.6 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: print a sequence of numbers | 13 | //config: print a sequence of numbers |
14 | 14 | ||
15 | //applet:IF_SEQ(APPLET_NOFORK(seq, seq, BB_DIR_USR_BIN, BB_SUID_DROP, seq)) | 15 | //applet:IF_SEQ(APPLET_NOFORK(seq, seq, BB_DIR_USR_BIN, BB_SUID_DROP, seq)) |
16 | 16 | ||
diff --git a/coreutils/shred.c b/coreutils/shred.c index 93319e24d..3ceb58d19 100644 --- a/coreutils/shred.c +++ b/coreutils/shred.c | |||
@@ -8,7 +8,7 @@ | |||
8 | //config: bool "shred (5 kb)" | 8 | //config: bool "shred (5 kb)" |
9 | //config: default y | 9 | //config: default y |
10 | //config: help | 10 | //config: help |
11 | //config: Overwrite a file to hide its contents, and optionally delete it | 11 | //config: Overwrite a file to hide its contents, and optionally delete it |
12 | 12 | ||
13 | //applet:IF_SHRED(APPLET(shred, BB_DIR_USR_BIN, BB_SUID_DROP)) | 13 | //applet:IF_SHRED(APPLET(shred, BB_DIR_USR_BIN, BB_SUID_DROP)) |
14 | 14 | ||
diff --git a/coreutils/shuf.c b/coreutils/shuf.c index b1a9d1254..403041534 100644 --- a/coreutils/shuf.c +++ b/coreutils/shuf.c | |||
@@ -11,7 +11,7 @@ | |||
11 | //config: bool "shuf (5.4 kb)" | 11 | //config: bool "shuf (5.4 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: Generate random permutations | 14 | //config: Generate random permutations |
15 | 15 | ||
16 | //kbuild:lib-$(CONFIG_SHUF) += shuf.o | 16 | //kbuild:lib-$(CONFIG_SHUF) += shuf.o |
17 | //applet:IF_SHUF(APPLET_NOEXEC(shuf, shuf, BB_DIR_USR_BIN, BB_SUID_DROP, shuf)) | 17 | //applet:IF_SHUF(APPLET_NOEXEC(shuf, shuf, BB_DIR_USR_BIN, BB_SUID_DROP, shuf)) |
diff --git a/coreutils/sleep.c b/coreutils/sleep.c index 6b3aa1ffa..9b9581ca9 100644 --- a/coreutils/sleep.c +++ b/coreutils/sleep.c | |||
@@ -16,29 +16,29 @@ | |||
16 | //config: bool "sleep (1.7 kb)" | 16 | //config: bool "sleep (1.7 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: help | 18 | //config: help |
19 | //config: sleep is used to pause for a specified number of seconds. | 19 | //config: sleep is used to pause for a specified number of seconds. |
20 | //config: It comes in 3 versions: | 20 | //config: It comes in 3 versions: |
21 | //config: - small: takes one integer parameter | 21 | //config: - small: takes one integer parameter |
22 | //config: - fancy: takes multiple integer arguments with suffixes: | 22 | //config: - fancy: takes multiple integer arguments with suffixes: |
23 | //config: sleep 1d 2h 3m 15s | 23 | //config: sleep 1d 2h 3m 15s |
24 | //config: - fancy with fractional numbers: | 24 | //config: - fancy with fractional numbers: |
25 | //config: sleep 2.3s 4.5h sleeps for 16202.3 seconds | 25 | //config: sleep 2.3s 4.5h sleeps for 16202.3 seconds |
26 | //config: Last one is "the most compatible" with coreutils sleep, | 26 | //config: Last one is "the most compatible" with coreutils sleep, |
27 | //config: but it adds around 1k of code. | 27 | //config: but it adds around 1k of code. |
28 | //config: | 28 | //config: |
29 | //config:config FEATURE_FANCY_SLEEP | 29 | //config:config FEATURE_FANCY_SLEEP |
30 | //config: bool "Enable multiple arguments and s/m/h/d suffixes" | 30 | //config: bool "Enable multiple arguments and s/m/h/d suffixes" |
31 | //config: default y | 31 | //config: default y |
32 | //config: depends on SLEEP | 32 | //config: depends on SLEEP |
33 | //config: help | 33 | //config: help |
34 | //config: Allow sleep to pause for specified minutes, hours, and days. | 34 | //config: Allow sleep to pause for specified minutes, hours, and days. |
35 | //config: | 35 | //config: |
36 | //config:config FEATURE_FLOAT_SLEEP | 36 | //config:config FEATURE_FLOAT_SLEEP |
37 | //config: bool "Enable fractional arguments" | 37 | //config: bool "Enable fractional arguments" |
38 | //config: default y | 38 | //config: default y |
39 | //config: depends on FEATURE_FANCY_SLEEP | 39 | //config: depends on FEATURE_FANCY_SLEEP |
40 | //config: help | 40 | //config: help |
41 | //config: Allow for fractional numeric parameters. | 41 | //config: Allow for fractional numeric parameters. |
42 | 42 | ||
43 | /* Do not make this applet NOFORK. It breaks ^C-ing of pauses in shells */ | 43 | /* Do not make this applet NOFORK. It breaks ^C-ing of pauses in shells */ |
44 | //applet:IF_SLEEP(APPLET(sleep, BB_DIR_BIN, BB_SUID_DROP)) | 44 | //applet:IF_SLEEP(APPLET(sleep, BB_DIR_BIN, BB_SUID_DROP)) |
diff --git a/coreutils/sort.c b/coreutils/sort.c index a8803819d..9860dca64 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c | |||
@@ -15,19 +15,19 @@ | |||
15 | //config: bool "sort (7.4 kb)" | 15 | //config: bool "sort (7.4 kb)" |
16 | //config: default y | 16 | //config: default y |
17 | //config: help | 17 | //config: help |
18 | //config: sort is used to sort lines of text in specified files. | 18 | //config: sort is used to sort lines of text in specified files. |
19 | //config: | 19 | //config: |
20 | //config:config FEATURE_SORT_BIG | 20 | //config:config FEATURE_SORT_BIG |
21 | //config: bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)" | 21 | //config: bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)" |
22 | //config: default y | 22 | //config: default y |
23 | //config: depends on SORT | 23 | //config: depends on SORT |
24 | //config: help | 24 | //config: help |
25 | //config: Without this, sort only supports -r, -u, and an integer version | 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 | 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. | 27 | //config: more. This adds a little over 3k to a nonstatic build on x86. |
28 | //config: | 28 | //config: |
29 | //config: The SuSv3 sort standard is available at: | 29 | //config: The SuSv3 sort standard is available at: |
30 | //config: http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html | 30 | //config: http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html |
31 | 31 | ||
32 | //applet:IF_SORT(APPLET_NOEXEC(sort, sort, BB_DIR_USR_BIN, BB_SUID_DROP, sort)) | 32 | //applet:IF_SORT(APPLET_NOEXEC(sort, sort, BB_DIR_USR_BIN, BB_SUID_DROP, sort)) |
33 | 33 | ||
diff --git a/coreutils/split.c b/coreutils/split.c index dc6f62109..d0c63573a 100644 --- a/coreutils/split.c +++ b/coreutils/split.c | |||
@@ -9,16 +9,16 @@ | |||
9 | //config: bool "split (5.4 kb)" | 9 | //config: bool "split (5.4 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: Split a file into pieces. | 12 | //config: Split a file into pieces. |
13 | //config: | 13 | //config: |
14 | //config:config FEATURE_SPLIT_FANCY | 14 | //config:config FEATURE_SPLIT_FANCY |
15 | //config: bool "Fancy extensions" | 15 | //config: bool "Fancy extensions" |
16 | //config: default y | 16 | //config: default y |
17 | //config: depends on SPLIT | 17 | //config: depends on SPLIT |
18 | //config: help | 18 | //config: help |
19 | //config: Add support for features not required by SUSv3. | 19 | //config: Add support for features not required by SUSv3. |
20 | //config: Supports additional suffixes 'b' for 512 bytes, | 20 | //config: Supports additional suffixes 'b' for 512 bytes, |
21 | //config: 'g' for 1GiB for the -b option. | 21 | //config: 'g' for 1GiB for the -b option. |
22 | 22 | ||
23 | //applet:IF_SPLIT(APPLET(split, BB_DIR_USR_BIN, BB_SUID_DROP)) | 23 | //applet:IF_SPLIT(APPLET(split, BB_DIR_USR_BIN, BB_SUID_DROP)) |
24 | 24 | ||
diff --git a/coreutils/stat.c b/coreutils/stat.c index e2f9a223d..3b85808b5 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c | |||
@@ -16,16 +16,16 @@ | |||
16 | //config: bool "stat (10 kb)" | 16 | //config: bool "stat (10 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: help | 18 | //config: help |
19 | //config: display file or filesystem status. | 19 | //config: display file or filesystem status. |
20 | //config: | 20 | //config: |
21 | //config:config FEATURE_STAT_FORMAT | 21 | //config:config FEATURE_STAT_FORMAT |
22 | //config: bool "Enable custom formats (-c)" | 22 | //config: bool "Enable custom formats (-c)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: depends on STAT | 24 | //config: depends on STAT |
25 | //config: help | 25 | //config: help |
26 | //config: Without this, stat will not support the '-c format' option where | 26 | //config: Without this, stat will not support the '-c format' option where |
27 | //config: users can pass a custom format string for output. This adds about | 27 | //config: users can pass a custom format string for output. This adds about |
28 | //config: 7k to a nonstatic build on amd64. | 28 | //config: 7k to a nonstatic build on amd64. |
29 | //config: | 29 | //config: |
30 | //config:config FEATURE_STAT_FILESYSTEM | 30 | //config:config FEATURE_STAT_FILESYSTEM |
31 | //config: bool "Enable display of filesystem status (-f)" | 31 | //config: bool "Enable display of filesystem status (-f)" |
@@ -33,8 +33,8 @@ | |||
33 | //config: depends on STAT | 33 | //config: depends on STAT |
34 | //config: select PLATFORM_LINUX # statfs() | 34 | //config: select PLATFORM_LINUX # statfs() |
35 | //config: help | 35 | //config: help |
36 | //config: Without this, stat will not support the '-f' option to display | 36 | //config: Without this, stat will not support the '-f' option to display |
37 | //config: information about filesystem status. | 37 | //config: information about filesystem status. |
38 | 38 | ||
39 | //applet:IF_STAT(APPLET(stat, BB_DIR_BIN, BB_SUID_DROP)) | 39 | //applet:IF_STAT(APPLET(stat, BB_DIR_BIN, BB_SUID_DROP)) |
40 | 40 | ||
diff --git a/coreutils/stty.c b/coreutils/stty.c index 3a4b32ce0..f987fbbcf 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c | |||
@@ -23,7 +23,7 @@ | |||
23 | //config: bool "stty (8.6 kb)" | 23 | //config: bool "stty (8.6 kb)" |
24 | //config: default y | 24 | //config: default y |
25 | //config: help | 25 | //config: help |
26 | //config: stty is used to change and print terminal line settings. | 26 | //config: stty is used to change and print terminal line settings. |
27 | 27 | ||
28 | //applet:IF_STTY(APPLET(stty, BB_DIR_BIN, BB_SUID_DROP)) | 28 | //applet:IF_STTY(APPLET(stty, BB_DIR_BIN, BB_SUID_DROP)) |
29 | 29 | ||
diff --git a/coreutils/sum.c b/coreutils/sum.c index ef2f94e45..487e93f4a 100644 --- a/coreutils/sum.c +++ b/coreutils/sum.c | |||
@@ -16,7 +16,7 @@ | |||
16 | //config: bool "sum (4.3 kb)" | 16 | //config: bool "sum (4.3 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: help | 18 | //config: help |
19 | //config: checksum and count the blocks in a file | 19 | //config: checksum and count the blocks in a file |
20 | 20 | ||
21 | //applet:IF_SUM(APPLET(sum, BB_DIR_USR_BIN, BB_SUID_DROP)) | 21 | //applet:IF_SUM(APPLET(sum, BB_DIR_USR_BIN, BB_SUID_DROP)) |
22 | 22 | ||
diff --git a/coreutils/sync.c b/coreutils/sync.c index 5557103b3..66445281a 100644 --- a/coreutils/sync.c +++ b/coreutils/sync.c | |||
@@ -11,14 +11,14 @@ | |||
11 | //config: bool "sync (769 bytes)" | 11 | //config: bool "sync (769 bytes)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: sync is used to flush filesystem buffers. | 14 | //config: sync is used to flush filesystem buffers. |
15 | //config:config FEATURE_SYNC_FANCY | 15 | //config:config FEATURE_SYNC_FANCY |
16 | //config: bool "Enable -d and -f flags (requires syncfs(2) in libc)" | 16 | //config: bool "Enable -d and -f flags (requires syncfs(2) in libc)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: depends on SYNC | 18 | //config: depends on SYNC |
19 | //config: help | 19 | //config: help |
20 | //config: sync -d FILE... executes fdatasync() on each FILE. | 20 | //config: sync -d FILE... executes fdatasync() on each FILE. |
21 | //config: sync -f FILE... executes syncfs() on each FILE. | 21 | //config: sync -f FILE... executes syncfs() on each FILE. |
22 | 22 | ||
23 | //applet:IF_SYNC(APPLET_NOFORK(sync, sync, BB_DIR_BIN, BB_SUID_DROP, sync)) | 23 | //applet:IF_SYNC(APPLET_NOFORK(sync, sync, BB_DIR_BIN, BB_SUID_DROP, sync)) |
24 | 24 | ||
diff --git a/coreutils/tac.c b/coreutils/tac.c index 1f5b34a84..6d3ea9c19 100644 --- a/coreutils/tac.c +++ b/coreutils/tac.c | |||
@@ -16,7 +16,7 @@ | |||
16 | //config: bool "tac (4.1 kb)" | 16 | //config: bool "tac (4.1 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: help | 18 | //config: help |
19 | //config: tac is used to concatenate and print files in reverse. | 19 | //config: tac is used to concatenate and print files in reverse. |
20 | 20 | ||
21 | //applet:IF_TAC(APPLET_NOEXEC(tac, tac, BB_DIR_USR_BIN, BB_SUID_DROP, tac)) | 21 | //applet:IF_TAC(APPLET_NOEXEC(tac, tac, BB_DIR_USR_BIN, BB_SUID_DROP, tac)) |
22 | 22 | ||
diff --git a/coreutils/tail.c b/coreutils/tail.c index a834e241e..fd310f422 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c | |||
@@ -22,20 +22,20 @@ | |||
22 | //config: bool "tail (7.1 kb)" | 22 | //config: bool "tail (7.1 kb)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: help | 24 | //config: help |
25 | //config: tail is used to print the last specified number of lines | 25 | //config: tail is used to print the last specified number of lines |
26 | //config: from files. | 26 | //config: from files. |
27 | //config: | 27 | //config: |
28 | //config:config FEATURE_FANCY_TAIL | 28 | //config:config FEATURE_FANCY_TAIL |
29 | //config: bool "Enable -q, -s, -v, and -F options" | 29 | //config: bool "Enable -q, -s, -v, and -F options" |
30 | //config: default y | 30 | //config: default y |
31 | //config: depends on TAIL | 31 | //config: depends on TAIL |
32 | //config: help | 32 | //config: help |
33 | //config: These options are provided by GNU tail, but | 33 | //config: These options are provided by GNU tail, but |
34 | //config: are not specific in the SUSv3 standard: | 34 | //config: are not specified in the SUSv3 standard: |
35 | //config: -q Never output headers giving file names | 35 | //config: -q Never output headers giving file names |
36 | //config: -s SEC Wait SEC seconds between reads with -f | 36 | //config: -s SEC Wait SEC seconds between reads with -f |
37 | //config: -v Always output headers giving file names | 37 | //config: -v Always output headers giving file names |
38 | //config: -F Same as -f, but keep retrying | 38 | //config: -F Same as -f, but keep retrying |
39 | 39 | ||
40 | //applet:IF_TAIL(APPLET(tail, BB_DIR_USR_BIN, BB_SUID_DROP)) | 40 | //applet:IF_TAIL(APPLET(tail, BB_DIR_USR_BIN, BB_SUID_DROP)) |
41 | 41 | ||
diff --git a/coreutils/tee.c b/coreutils/tee.c index f7676ce9e..f0ec791bb 100644 --- a/coreutils/tee.c +++ b/coreutils/tee.c | |||
@@ -10,15 +10,15 @@ | |||
10 | //config: bool "tee (4.3 kb)" | 10 | //config: bool "tee (4.3 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: tee is used to read from standard input and write | 13 | //config: tee is used to read from standard input and write |
14 | //config: to standard output and files. | 14 | //config: to standard output and files. |
15 | //config: | 15 | //config: |
16 | //config:config FEATURE_TEE_USE_BLOCK_IO | 16 | //config:config FEATURE_TEE_USE_BLOCK_IO |
17 | //config: bool "Enable block I/O (larger/faster) instead of byte I/O" | 17 | //config: bool "Enable block I/O (larger/faster) instead of byte I/O" |
18 | //config: default y | 18 | //config: default y |
19 | //config: depends on TEE | 19 | //config: depends on TEE |
20 | //config: help | 20 | //config: help |
21 | //config: Enable this option for a faster tee, at expense of size. | 21 | //config: Enable this option for a faster tee, at expense of size. |
22 | 22 | ||
23 | //applet:IF_TEE(APPLET(tee, BB_DIR_USR_BIN, BB_SUID_DROP)) | 23 | //applet:IF_TEE(APPLET(tee, BB_DIR_USR_BIN, BB_SUID_DROP)) |
24 | 24 | ||
diff --git a/coreutils/test.c b/coreutils/test.c index 5cca5d1f2..d8ac42e22 100644 --- a/coreutils/test.c +++ b/coreutils/test.c | |||
@@ -23,28 +23,28 @@ | |||
23 | //config: bool "test (3.6 kb)" | 23 | //config: bool "test (3.6 kb)" |
24 | //config: default y | 24 | //config: default y |
25 | //config: help | 25 | //config: help |
26 | //config: test is used to check file types and compare values, | 26 | //config: test is used to check file types and compare values, |
27 | //config: returning an appropriate exit code. The bash shell | 27 | //config: returning an appropriate exit code. The bash shell |
28 | //config: has test built in, ash can build it in optionally. | 28 | //config: has test built in, ash can build it in optionally. |
29 | //config: | 29 | //config: |
30 | //config:config TEST1 | 30 | //config:config TEST1 |
31 | //config: bool "test as [" | 31 | //config: bool "test as [" |
32 | //config: default y | 32 | //config: default y |
33 | //config: help | 33 | //config: help |
34 | //config: Provide test command in the "[ EXPR ]" form | 34 | //config: Provide test command in the "[ EXPR ]" form |
35 | //config: | 35 | //config: |
36 | //config:config TEST2 | 36 | //config:config TEST2 |
37 | //config: bool "test as [[" | 37 | //config: bool "test as [[" |
38 | //config: default y | 38 | //config: default y |
39 | //config: help | 39 | //config: help |
40 | //config: Provide test command in the "[[ EXPR ]]" form | 40 | //config: Provide test command in the "[[ EXPR ]]" form |
41 | //config: | 41 | //config: |
42 | //config:config FEATURE_TEST_64 | 42 | //config:config FEATURE_TEST_64 |
43 | //config: bool "Extend test to 64 bit" | 43 | //config: bool "Extend test to 64 bit" |
44 | //config: default y | 44 | //config: default y |
45 | //config: depends on TEST || TEST1 || TEST2 || ASH_TEST || HUSH_TEST | 45 | //config: depends on TEST || TEST1 || TEST2 || ASH_TEST || HUSH_TEST |
46 | //config: help | 46 | //config: help |
47 | //config: Enable 64-bit support in test. | 47 | //config: Enable 64-bit support in test. |
48 | 48 | ||
49 | //applet:IF_TEST(APPLET_NOFORK(test, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) | 49 | //applet:IF_TEST(APPLET_NOFORK(test, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) |
50 | //applet:IF_TEST1(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) | 50 | //applet:IF_TEST1(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) |
diff --git a/coreutils/timeout.c b/coreutils/timeout.c index 5981c7bcb..4a6117f59 100644 --- a/coreutils/timeout.c +++ b/coreutils/timeout.c | |||
@@ -31,8 +31,8 @@ | |||
31 | //config: bool "timeout (5.5 kb)" | 31 | //config: bool "timeout (5.5 kb)" |
32 | //config: default y | 32 | //config: default y |
33 | //config: help | 33 | //config: help |
34 | //config: Runs a program and watches it. If it does not terminate in | 34 | //config: Runs a program and watches it. If it does not terminate in |
35 | //config: specified number of seconds, it is sent a signal. | 35 | //config: specified number of seconds, it is sent a signal. |
36 | 36 | ||
37 | //applet:IF_TIMEOUT(APPLET(timeout, BB_DIR_USR_BIN, BB_SUID_DROP)) | 37 | //applet:IF_TIMEOUT(APPLET(timeout, BB_DIR_USR_BIN, BB_SUID_DROP)) |
38 | 38 | ||
diff --git a/coreutils/touch.c b/coreutils/touch.c index 7b7b9f8a1..11b40d427 100644 --- a/coreutils/touch.c +++ b/coreutils/touch.c | |||
@@ -16,23 +16,23 @@ | |||
16 | //config: bool "touch (5.8 kb)" | 16 | //config: bool "touch (5.8 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: help | 18 | //config: help |
19 | //config: touch is used to create or change the access and/or | 19 | //config: touch is used to create or change the access and/or |
20 | //config: modification timestamp of specified files. | 20 | //config: modification timestamp of specified files. |
21 | //config: | 21 | //config: |
22 | //config:config FEATURE_TOUCH_NODEREF | 22 | //config:config FEATURE_TOUCH_NODEREF |
23 | //config: bool "Add support for -h" | 23 | //config: bool "Add support for -h" |
24 | //config: default y | 24 | //config: default y |
25 | //config: depends on TOUCH | 25 | //config: depends on TOUCH |
26 | //config: help | 26 | //config: help |
27 | //config: Enable touch to have the -h option. | 27 | //config: Enable touch to have the -h option. |
28 | //config: This requires libc support for lutimes() function. | 28 | //config: This requires libc support for lutimes() function. |
29 | //config: | 29 | //config: |
30 | //config:config FEATURE_TOUCH_SUSV3 | 30 | //config:config FEATURE_TOUCH_SUSV3 |
31 | //config: bool "Add support for SUSV3 features (-d -t -r)" | 31 | //config: bool "Add support for SUSV3 features (-d -t -r)" |
32 | //config: default y | 32 | //config: default y |
33 | //config: depends on TOUCH | 33 | //config: depends on TOUCH |
34 | //config: help | 34 | //config: help |
35 | //config: Enable touch to use a reference file or a given date/time argument. | 35 | //config: Enable touch to use a reference file or a given date/time argument. |
36 | 36 | ||
37 | //applet:IF_TOUCH(APPLET_NOFORK(touch, touch, BB_DIR_BIN, BB_SUID_DROP, touch)) | 37 | //applet:IF_TOUCH(APPLET_NOFORK(touch, touch, BB_DIR_BIN, BB_SUID_DROP, touch)) |
38 | 38 | ||
diff --git a/coreutils/tr.c b/coreutils/tr.c index 4281a2c69..64e4efc91 100644 --- a/coreutils/tr.c +++ b/coreutils/tr.c | |||
@@ -22,27 +22,27 @@ | |||
22 | //config: bool "tr (5.5 kb)" | 22 | //config: bool "tr (5.5 kb)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: help | 24 | //config: help |
25 | //config: tr is used to squeeze, and/or delete characters from standard | 25 | //config: tr is used to squeeze, and/or delete characters from standard |
26 | //config: input, writing to standard output. | 26 | //config: input, writing to standard output. |
27 | //config: | 27 | //config: |
28 | //config:config FEATURE_TR_CLASSES | 28 | //config:config FEATURE_TR_CLASSES |
29 | //config: bool "Enable character classes (such as [:upper:])" | 29 | //config: bool "Enable character classes (such as [:upper:])" |
30 | //config: default y | 30 | //config: default y |
31 | //config: depends on TR | 31 | //config: depends on TR |
32 | //config: help | 32 | //config: help |
33 | //config: Enable character classes, enabling commands such as: | 33 | //config: Enable character classes, enabling commands such as: |
34 | //config: tr [:upper:] [:lower:] to convert input into lowercase. | 34 | //config: tr [:upper:] [:lower:] to convert input into lowercase. |
35 | //config: | 35 | //config: |
36 | //config:config FEATURE_TR_EQUIV | 36 | //config:config FEATURE_TR_EQUIV |
37 | //config: bool "Enable equivalence classes" | 37 | //config: bool "Enable equivalence classes" |
38 | //config: default y | 38 | //config: default y |
39 | //config: depends on TR | 39 | //config: depends on TR |
40 | //config: help | 40 | //config: help |
41 | //config: Enable equivalence classes, which essentially add the enclosed | 41 | //config: Enable equivalence classes, which essentially add the enclosed |
42 | //config: character to the current set. For instance, tr [=a=] xyz would | 42 | //config: character to the current set. For instance, tr [=a=] xyz would |
43 | //config: replace all instances of 'a' with 'xyz'. This option is mainly | 43 | //config: replace all instances of 'a' with 'xyz'. This option is mainly |
44 | //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 |
45 | //config: is possible. | 45 | //config: is possible. |
46 | 46 | ||
47 | //applet:IF_TR(APPLET(tr, BB_DIR_USR_BIN, BB_SUID_DROP)) | 47 | //applet:IF_TR(APPLET(tr, BB_DIR_USR_BIN, BB_SUID_DROP)) |
48 | 48 | ||
diff --git a/coreutils/true.c b/coreutils/true.c index 29386b021..400388c34 100644 --- a/coreutils/true.c +++ b/coreutils/true.c | |||
@@ -10,7 +10,7 @@ | |||
10 | //config: bool "true (tiny)" | 10 | //config: bool "true (tiny)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: true returns an exit code of TRUE (0). | 13 | //config: true returns an exit code of TRUE (0). |
14 | 14 | ||
15 | //applet:IF_TRUE(APPLET_NOFORK(true, true, BB_DIR_BIN, BB_SUID_DROP, true)) | 15 | //applet:IF_TRUE(APPLET_NOFORK(true, true, BB_DIR_BIN, BB_SUID_DROP, true)) |
16 | 16 | ||
diff --git a/coreutils/truncate.c b/coreutils/truncate.c index eefe2b4fc..f67abaf40 100644 --- a/coreutils/truncate.c +++ b/coreutils/truncate.c | |||
@@ -9,8 +9,8 @@ | |||
9 | //config: bool "truncate (4.7 kb)" | 9 | //config: bool "truncate (4.7 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: truncate truncates files to a given size. If a file does | 12 | //config: truncate truncates files to a given size. If a file does |
13 | //config: not exist, it is created unless told otherwise. | 13 | //config: not exist, it is created unless told otherwise. |
14 | 14 | ||
15 | //applet:IF_TRUNCATE(APPLET_NOFORK(truncate, truncate, BB_DIR_USR_BIN, BB_SUID_DROP, truncate)) | 15 | //applet:IF_TRUNCATE(APPLET_NOFORK(truncate, truncate, BB_DIR_USR_BIN, BB_SUID_DROP, truncate)) |
16 | 16 | ||
diff --git a/coreutils/tty.c b/coreutils/tty.c index 9a5f1ef52..331941a01 100644 --- a/coreutils/tty.c +++ b/coreutils/tty.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "tty (3.3 kb)" | 10 | //config: bool "tty (3.3 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: tty is used to print the name of the current terminal to | 13 | //config: tty is used to print the name of the current terminal to |
14 | //config: standard output. | 14 | //config: standard output. |
15 | 15 | ||
16 | //applet:IF_TTY(APPLET(tty, BB_DIR_USR_BIN, BB_SUID_DROP)) | 16 | //applet:IF_TTY(APPLET(tty, BB_DIR_USR_BIN, BB_SUID_DROP)) |
17 | 17 | ||
diff --git a/coreutils/uname.c b/coreutils/uname.c index 8a33cf3b5..aad58cab0 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c | |||
@@ -46,22 +46,22 @@ | |||
46 | //config: bool "uname (3.7 kb)" | 46 | //config: bool "uname (3.7 kb)" |
47 | //config: default y | 47 | //config: default y |
48 | //config: help | 48 | //config: help |
49 | //config: uname is used to print system information. | 49 | //config: uname is used to print system information. |
50 | //config: | 50 | //config: |
51 | //config:config UNAME_OSNAME | 51 | //config:config UNAME_OSNAME |
52 | //config: string "Operating system name" | 52 | //config: string "Operating system name" |
53 | //config: default "GNU/Linux" | 53 | //config: default "GNU/Linux" |
54 | //config: depends on UNAME | 54 | //config: depends on UNAME |
55 | //config: help | 55 | //config: help |
56 | //config: Sets the operating system name reported by uname -o. The | 56 | //config: Sets the operating system name reported by uname -o. The |
57 | //config: default is "GNU/Linux". | 57 | //config: default is "GNU/Linux". |
58 | //config: | 58 | //config: |
59 | //can't use "ARCH" for this applet, all hell breaks loose in build system :) | 59 | //can't use "ARCH" for this applet, all hell breaks loose in build system :) |
60 | //config:config BB_ARCH | 60 | //config:config BB_ARCH |
61 | //config: bool "arch (1.6 kb)" | 61 | //config: bool "arch (1.6 kb)" |
62 | //config: default y | 62 | //config: default y |
63 | //config: help | 63 | //config: help |
64 | //config: Same as uname -m. | 64 | //config: Same as uname -m. |
65 | 65 | ||
66 | //applet:IF_UNAME(APPLET(uname, BB_DIR_BIN, BB_SUID_DROP)) | 66 | //applet:IF_UNAME(APPLET(uname, BB_DIR_BIN, BB_SUID_DROP)) |
67 | // APPLET_ODDNAME:name main location suid_type help | 67 | // APPLET_ODDNAME:name main location suid_type help |
diff --git a/coreutils/uniq.c b/coreutils/uniq.c index 3f9c56e74..f71557b67 100644 --- a/coreutils/uniq.c +++ b/coreutils/uniq.c | |||
@@ -10,7 +10,7 @@ | |||
10 | //config: bool "uniq (4.8 kb)" | 10 | //config: bool "uniq (4.8 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: uniq is used to remove duplicate lines from a sorted file. | 13 | //config: uniq is used to remove duplicate lines from a sorted file. |
14 | 14 | ||
15 | //applet:IF_UNIQ(APPLET(uniq, BB_DIR_USR_BIN, BB_SUID_DROP)) | 15 | //applet:IF_UNIQ(APPLET(uniq, BB_DIR_USR_BIN, BB_SUID_DROP)) |
16 | 16 | ||
diff --git a/coreutils/unlink.c b/coreutils/unlink.c index fcc86da97..3322d5b47 100644 --- a/coreutils/unlink.c +++ b/coreutils/unlink.c | |||
@@ -9,7 +9,7 @@ | |||
9 | //config: bool "unlink (3.5 kb)" | 9 | //config: bool "unlink (3.5 kb)" |
10 | //config: default y | 10 | //config: default y |
11 | //config: help | 11 | //config: help |
12 | //config: unlink deletes a file by calling unlink() | 12 | //config: unlink deletes a file by calling unlink() |
13 | 13 | ||
14 | //applet:IF_UNLINK(APPLET(unlink, BB_DIR_USR_BIN, BB_SUID_DROP)) | 14 | //applet:IF_UNLINK(APPLET(unlink, BB_DIR_USR_BIN, BB_SUID_DROP)) |
15 | 15 | ||
diff --git a/coreutils/usleep.c b/coreutils/usleep.c index 1675b2fc9..7c25aada1 100644 --- a/coreutils/usleep.c +++ b/coreutils/usleep.c | |||
@@ -10,7 +10,7 @@ | |||
10 | //config: bool "usleep (1.1 kb)" | 10 | //config: bool "usleep (1.1 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: usleep is used to pause for a specified number of microseconds. | 13 | //config: usleep is used to pause for a specified number of microseconds. |
14 | 14 | ||
15 | //applet:IF_USLEEP(APPLET_NOFORK(usleep, usleep, BB_DIR_BIN, BB_SUID_DROP, usleep)) | 15 | //applet:IF_USLEEP(APPLET_NOFORK(usleep, usleep, BB_DIR_BIN, BB_SUID_DROP, usleep)) |
16 | 16 | ||
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c index 418d0238f..4e72e86ee 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c | |||
@@ -14,7 +14,7 @@ | |||
14 | //config: bool "uudecode (5.9 kb)" | 14 | //config: bool "uudecode (5.9 kb)" |
15 | //config: default y | 15 | //config: default y |
16 | //config: help | 16 | //config: help |
17 | //config: uudecode is used to decode a uuencoded file. | 17 | //config: uudecode is used to decode a uuencoded file. |
18 | 18 | ||
19 | //applet:IF_UUDECODE(APPLET(uudecode, BB_DIR_USR_BIN, BB_SUID_DROP)) | 19 | //applet:IF_UUDECODE(APPLET(uudecode, BB_DIR_USR_BIN, BB_SUID_DROP)) |
20 | 20 | ||
@@ -179,7 +179,7 @@ int uudecode_main(int argc UNUSED_PARAM, char **argv) | |||
179 | //config: bool "base64 (5 kb)" | 179 | //config: bool "base64 (5 kb)" |
180 | //config: default y | 180 | //config: default y |
181 | //config: help | 181 | //config: help |
182 | //config: Base64 encode and decode | 182 | //config: Base64 encode and decode |
183 | 183 | ||
184 | //usage:#define base64_trivial_usage | 184 | //usage:#define base64_trivial_usage |
185 | //usage: "[-d] [FILE]" | 185 | //usage: "[-d] [FILE]" |
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c index cd167aeda..7164f838a 100644 --- a/coreutils/uuencode.c +++ b/coreutils/uuencode.c | |||
@@ -11,7 +11,7 @@ | |||
11 | //config: bool "uuencode (4.6 kb)" | 11 | //config: bool "uuencode (4.6 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: uuencode is used to uuencode a file. | 14 | //config: uuencode is used to uuencode a file. |
15 | 15 | ||
16 | //applet:IF_UUENCODE(APPLET(uuencode, BB_DIR_USR_BIN, BB_SUID_DROP)) | 16 | //applet:IF_UUENCODE(APPLET(uuencode, BB_DIR_USR_BIN, BB_SUID_DROP)) |
17 | 17 | ||
diff --git a/coreutils/wc.c b/coreutils/wc.c index 716119d6c..c74b7a65f 100644 --- a/coreutils/wc.c +++ b/coreutils/wc.c | |||
@@ -36,15 +36,15 @@ | |||
36 | //config: bool "wc (4.4 kb)" | 36 | //config: bool "wc (4.4 kb)" |
37 | //config: default y | 37 | //config: default y |
38 | //config: help | 38 | //config: help |
39 | //config: wc is used to print the number of bytes, words, and lines, | 39 | //config: wc is used to print the number of bytes, words, and lines, |
40 | //config: in specified files. | 40 | //config: in specified files. |
41 | //config: | 41 | //config: |
42 | //config:config FEATURE_WC_LARGE | 42 | //config:config FEATURE_WC_LARGE |
43 | //config: bool "Support very large counts" | 43 | //config: bool "Support very large counts" |
44 | //config: default y | 44 | //config: default y |
45 | //config: depends on WC | 45 | //config: depends on WC |
46 | //config: help | 46 | //config: help |
47 | //config: Use "unsigned long long" for counter variables. | 47 | //config: Use "unsigned long long" for counter variables. |
48 | 48 | ||
49 | //applet:IF_WC(APPLET(wc, BB_DIR_USR_BIN, BB_SUID_DROP)) | 49 | //applet:IF_WC(APPLET(wc, BB_DIR_USR_BIN, BB_SUID_DROP)) |
50 | 50 | ||
diff --git a/coreutils/who.c b/coreutils/who.c index 73167904f..91f99138c 100644 --- a/coreutils/who.c +++ b/coreutils/who.c | |||
@@ -17,26 +17,26 @@ | |||
17 | *---------------------------------------------------------------------- | 17 | *---------------------------------------------------------------------- |
18 | */ | 18 | */ |
19 | //config:config WHO | 19 | //config:config WHO |
20 | //config: bool "who (3.7 kb)" | 20 | //config: bool "who (3.7 kb)" |
21 | //config: default y | 21 | //config: default y |
22 | //config: depends on FEATURE_UTMP | 22 | //config: depends on FEATURE_UTMP |
23 | //config: help | 23 | //config: help |
24 | //config: who is used to show who is logged on. | 24 | //config: Print users currently logged on. |
25 | //config: | 25 | //config: |
26 | // procps-ng has this variation of "who": | 26 | // procps-ng has this variation of "who": |
27 | //config:config W | 27 | //config:config W |
28 | //config: bool "w (3.7 kb)" | 28 | //config: bool "w (3.7 kb)" |
29 | //config: default y | 29 | //config: default y |
30 | //config: depends on FEATURE_UTMP | 30 | //config: depends on FEATURE_UTMP |
31 | //config: help | 31 | //config: help |
32 | //config: w is used to show who is logged on. | 32 | //config: Print users currently logged on. |
33 | //config: | 33 | //config: |
34 | //config:config USERS | 34 | //config:config USERS |
35 | //config: bool "users (3.2 kb)" | 35 | //config: bool "users (3.2 kb)" |
36 | //config: default y | 36 | //config: default y |
37 | //config: depends on FEATURE_UTMP | 37 | //config: depends on FEATURE_UTMP |
38 | //config: help | 38 | //config: help |
39 | //config: Print users currently logged on. | 39 | //config: Print users currently logged on. |
40 | 40 | ||
41 | // APPLET_ODDNAME:name main location suid_type help | 41 | // APPLET_ODDNAME:name main location suid_type help |
42 | //applet:IF_USERS(APPLET_ODDNAME(users, who, BB_DIR_USR_BIN, BB_SUID_DROP, users)) | 42 | //applet:IF_USERS(APPLET_ODDNAME(users, who, BB_DIR_USR_BIN, BB_SUID_DROP, users)) |
diff --git a/coreutils/whoami.c b/coreutils/whoami.c index 02a51084a..9dab15817 100644 --- a/coreutils/whoami.c +++ b/coreutils/whoami.c | |||
@@ -10,8 +10,8 @@ | |||
10 | //config: bool "whoami (2.9 kb)" | 10 | //config: bool "whoami (2.9 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: whoami is used to print the username of the current | 13 | //config: whoami is used to print the username of the current |
14 | //config: user id (same as id -un). | 14 | //config: user id (same as id -un). |
15 | 15 | ||
16 | //applet:IF_WHOAMI(APPLET_NOFORK(whoami, whoami, BB_DIR_USR_BIN, BB_SUID_DROP, whoami)) | 16 | //applet:IF_WHOAMI(APPLET_NOFORK(whoami, whoami, BB_DIR_USR_BIN, BB_SUID_DROP, whoami)) |
17 | 17 | ||
diff --git a/coreutils/yes.c b/coreutils/yes.c index e8edc0c0d..493b7b1c3 100644 --- a/coreutils/yes.c +++ b/coreutils/yes.c | |||
@@ -14,8 +14,8 @@ | |||
14 | //config: bool "yes (956 bytes)" | 14 | //config: bool "yes (956 bytes)" |
15 | //config: default y | 15 | //config: default y |
16 | //config: help | 16 | //config: help |
17 | //config: yes is used to repeatedly output a specific string, or | 17 | //config: yes is used to repeatedly output a specific string, or |
18 | //config: the default string `y'. | 18 | //config: the default string `y'. |
19 | 19 | ||
20 | //applet:IF_YES(APPLET_NOFORK(yes, yes, BB_DIR_USR_BIN, BB_SUID_DROP, yes)) | 20 | //applet:IF_YES(APPLET_NOFORK(yes, yes, BB_DIR_USR_BIN, BB_SUID_DROP, yes)) |
21 | 21 | ||