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>
This commit is contained in:
@@ -13,9 +13,9 @@ config FEATURE_VERBOSE
|
||||
bool "Support verbose options (usually -v) for various applets"
|
||||
default y
|
||||
help
|
||||
Enable cp -v, rm -v and similar messages.
|
||||
Also enables long option (--verbose) if it exists.
|
||||
Without this option, -v is accepted but ignored.
|
||||
Enable cp -v, rm -v and similar messages.
|
||||
Also enables long option (--verbose) if it exists.
|
||||
Without this option, -v is accepted but ignored.
|
||||
|
||||
comment "Common options for cp and mv"
|
||||
depends on CP || MV
|
||||
@@ -25,7 +25,7 @@ config FEATURE_PRESERVE_HARDLINKS
|
||||
default y
|
||||
depends on CP || MV
|
||||
help
|
||||
Allow cp and mv to preserve hard links.
|
||||
Allow cp and mv to preserve hard links.
|
||||
|
||||
comment "Common options for df, du, ls"
|
||||
depends on DF || DU || LS
|
||||
@@ -35,6 +35,6 @@ config FEATURE_HUMAN_READABLE
|
||||
default y
|
||||
depends on DF || DU || LS
|
||||
help
|
||||
Allow df, du, and ls to have human readable output.
|
||||
Allow df, du, and ls to have human readable output.
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
//config: bool "basename (371 bytes)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: basename is used to strip the directory and suffix from filenames,
|
||||
//config: leaving just the filename itself. Enable this option if you wish
|
||||
//config: to enable the 'basename' utility.
|
||||
//config: basename is used to strip the directory and suffix from filenames,
|
||||
//config: leaving just the filename itself. Enable this option if you wish
|
||||
//config: to enable the 'basename' utility.
|
||||
|
||||
//applet:IF_BASENAME(APPLET_NOFORK(basename, basename, BB_DIR_USR_BIN, BB_SUID_DROP, basename))
|
||||
|
||||
|
||||
@@ -10,22 +10,22 @@
|
||||
//config: bool "cat (5.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: cat is used to concatenate files and print them to the standard
|
||||
//config: output. Enable this option if you wish to enable the 'cat' utility.
|
||||
//config: cat is used to concatenate files and print them to the standard
|
||||
//config: output. Enable this option if you wish to enable the 'cat' utility.
|
||||
//config:
|
||||
//config:config FEATURE_CATN
|
||||
//config: bool "Enable -n and -b options"
|
||||
//config: default y
|
||||
//config: depends on CAT
|
||||
//config: help
|
||||
//config: -n numbers all output lines while -b numbers nonempty output lines.
|
||||
//config: -n numbers all output lines while -b numbers nonempty output lines.
|
||||
//config:
|
||||
//config:config FEATURE_CATV
|
||||
//config: bool "cat -v[etA]"
|
||||
//config: default y
|
||||
//config: depends on CAT
|
||||
//config: help
|
||||
//config: Display nonprinting characters as escape sequences
|
||||
//config: Display nonprinting characters as escape sequences
|
||||
|
||||
//applet:IF_CAT(APPLET(cat, BB_DIR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//config: bool "chgrp (7.2 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: chgrp is used to change the group ownership of files.
|
||||
//config: chgrp is used to change the group ownership of files.
|
||||
|
||||
//applet:IF_CHGRP(APPLET_NOEXEC(chgrp, chgrp, BB_DIR_BIN, BB_SUID_DROP, chgrp))
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
//config: bool "chmod (5.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: chmod is used to change the access permission of files.
|
||||
//config: chmod is used to change the access permission of files.
|
||||
|
||||
//applet:IF_CHMOD(APPLET_NOEXEC(chmod, chmod, BB_DIR_BIN, BB_SUID_DROP, chmod))
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "chown (7.2 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: chown is used to change the user and/or group ownership
|
||||
//config: of files.
|
||||
//config: chown is used to change the user and/or group ownership
|
||||
//config: of files.
|
||||
//config:
|
||||
//config:config FEATURE_CHOWN_LONG_OPTIONS
|
||||
//config: bool "Enable long options"
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "chroot (3.7 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: chroot is used to change the root directory and run a command.
|
||||
//config: The default command is `/bin/sh'.
|
||||
//config: chroot is used to change the root directory and run a command.
|
||||
//config: The default command is `/bin/sh'.
|
||||
|
||||
//applet:IF_CHROOT(APPLET(chroot, BB_DIR_USR_SBIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//config: bool "cksum (4.2 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: cksum is used to calculate the CRC32 checksum of a file.
|
||||
//config: cksum is used to calculate the CRC32 checksum of a file.
|
||||
|
||||
//applet:IF_CKSUM(APPLET_NOEXEC(cksum, cksum, BB_DIR_USR_BIN, BB_SUID_DROP, cksum))
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "comm (3.9 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: comm is used to compare two files line by line and return
|
||||
//config: a three-column output.
|
||||
//config: comm is used to compare two files line by line and return
|
||||
//config: a three-column output.
|
||||
|
||||
//applet:IF_COMM(APPLET(comm, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -15,15 +15,15 @@
|
||||
//config: bool "cp (9.7 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: cp is used to copy files and directories.
|
||||
//config: cp is used to copy files and directories.
|
||||
//config:
|
||||
//config:config FEATURE_CP_LONG_OPTIONS
|
||||
//config: bool "Enable long options"
|
||||
//config: default y
|
||||
//config: depends on CP && LONG_OPTS
|
||||
//config: help
|
||||
//config: Enable long options.
|
||||
//config: Also add support for --parents option.
|
||||
//config: Enable long options.
|
||||
//config: Also add support for --parents option.
|
||||
|
||||
//applet:IF_CP(APPLET_NOEXEC(cp, cp, BB_DIR_BIN, BB_SUID_DROP, cp))
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
//config: bool "cut (5.3 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: cut is used to print selected parts of lines from
|
||||
//config: each file to stdout.
|
||||
//config: cut is used to print selected parts of lines from
|
||||
//config: each file to stdout.
|
||||
|
||||
//applet:IF_CUT(APPLET_NOEXEC(cut, cut, BB_DIR_USR_BIN, BB_SUID_DROP, cut))
|
||||
|
||||
|
||||
@@ -22,16 +22,16 @@
|
||||
//config: bool "date (7.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: date is used to set the system date or display the
|
||||
//config: current time in the given format.
|
||||
//config: date is used to set the system date or display the
|
||||
//config: current time in the given format.
|
||||
//config:
|
||||
//config:config FEATURE_DATE_ISOFMT
|
||||
//config: bool "Enable ISO date format output (-I)"
|
||||
//config: default y
|
||||
//config: depends on DATE
|
||||
//config: help
|
||||
//config: Enable option (-I) to output an ISO-8601 compliant
|
||||
//config: date/time string.
|
||||
//config: Enable option (-I) to output an ISO-8601 compliant
|
||||
//config: date/time string.
|
||||
//config:
|
||||
//config:# defaults to "no": stat's nanosecond field is a bit non-portable
|
||||
//config:config FEATURE_DATE_NANO
|
||||
@@ -40,23 +40,23 @@
|
||||
//config: depends on DATE # syscall(__NR_clock_gettime)
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: Support %[num]N format specifier. Adds ~250 bytes of code.
|
||||
//config: Support %[num]N format specifier. Adds ~250 bytes of code.
|
||||
//config:
|
||||
//config:config FEATURE_DATE_COMPAT
|
||||
//config: bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
|
||||
//config: default y
|
||||
//config: depends on DATE
|
||||
//config: help
|
||||
//config: System time can be set by 'date -s DATE' and simply 'date DATE',
|
||||
//config: but formats of DATE string are different. 'date DATE' accepts
|
||||
//config: a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
|
||||
//config: unnatural placement of year between minutes and seconds.
|
||||
//config: date -s (and other commands like touch -d) use more sensible
|
||||
//config: formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
|
||||
//config: System time can be set by 'date -s DATE' and simply 'date DATE',
|
||||
//config: but formats of DATE string are different. 'date DATE' accepts
|
||||
//config: a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
|
||||
//config: unnatural placement of year between minutes and seconds.
|
||||
//config: date -s (and other commands like touch -d) use more sensible
|
||||
//config: formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
|
||||
//config:
|
||||
//config: With this option off, 'date DATE' is 'date -s DATE' support
|
||||
//config: the same format. With it on, 'date DATE' additionally supports
|
||||
//config: MMDDhhmm[[YY]YY][.ss] format.
|
||||
//config: With this option off, 'date DATE' is 'date -s DATE' support
|
||||
//config: the same format. With it on, 'date DATE' additionally supports
|
||||
//config: MMDDhhmm[[YY]YY][.ss] format.
|
||||
|
||||
//applet:IF_DATE(APPLET(date, BB_DIR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -10,46 +10,46 @@
|
||||
//config: bool "dd (7.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: dd copies a file (from standard input to standard output,
|
||||
//config: by default) using specific input and output blocksizes,
|
||||
//config: while optionally performing conversions on it.
|
||||
//config: dd copies a file (from standard input to standard output,
|
||||
//config: by default) using specific input and output blocksizes,
|
||||
//config: while optionally performing conversions on it.
|
||||
//config:
|
||||
//config:config FEATURE_DD_SIGNAL_HANDLING
|
||||
//config: bool "Enable signal handling for status reporting"
|
||||
//config: default y
|
||||
//config: depends on DD
|
||||
//config: help
|
||||
//config: Sending a SIGUSR1 signal to a running `dd' process makes it
|
||||
//config: print to standard error the number of records read and written
|
||||
//config: so far, then to resume copying.
|
||||
//config: Sending a SIGUSR1 signal to a running `dd' process makes it
|
||||
//config: print to standard error the number of records read and written
|
||||
//config: so far, then to resume copying.
|
||||
//config:
|
||||
//config: $ dd if=/dev/zero of=/dev/null &
|
||||
//config: $ pid=$!; kill -USR1 $pid; sleep 1; kill $pid
|
||||
//config: 10899206+0 records in
|
||||
//config: 10899206+0 records out
|
||||
//config: $ dd if=/dev/zero of=/dev/null &
|
||||
//config: $ pid=$!; kill -USR1 $pid; sleep 1; kill $pid
|
||||
//config: 10899206+0 records in
|
||||
//config: 10899206+0 records out
|
||||
//config:
|
||||
//config:config FEATURE_DD_THIRD_STATUS_LINE
|
||||
//config: bool "Enable the third status line upon signal"
|
||||
//config: default y
|
||||
//config: depends on DD && FEATURE_DD_SIGNAL_HANDLING
|
||||
//config: help
|
||||
//config: Displays a coreutils-like third status line with transferred bytes,
|
||||
//config: elapsed time and speed.
|
||||
//config: Displays a coreutils-like third status line with transferred bytes,
|
||||
//config: elapsed time and speed.
|
||||
//config:
|
||||
//config:config FEATURE_DD_IBS_OBS
|
||||
//config: bool "Enable ibs, obs and conv options"
|
||||
//config: default y
|
||||
//config: depends on DD
|
||||
//config: help
|
||||
//config: Enable support for writing a certain number of bytes in and out,
|
||||
//config: at a time, and performing conversions on the data stream.
|
||||
//config: Enable support for writing a certain number of bytes in and out,
|
||||
//config: at a time, and performing conversions on the data stream.
|
||||
//config:
|
||||
//config:config FEATURE_DD_STATUS
|
||||
//config: bool "Enable status display options"
|
||||
//config: default y
|
||||
//config: depends on DD
|
||||
//config: help
|
||||
//config: Enable support for status=noxfer/none option.
|
||||
//config: Enable support for status=noxfer/none option.
|
||||
|
||||
//applet:IF_DD(APPLET_NOEXEC(dd, dd, BB_DIR_BIN, BB_SUID_DROP, dd))
|
||||
|
||||
|
||||
@@ -21,17 +21,17 @@
|
||||
//config: bool "df (7.5 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: df reports the amount of disk space used and available
|
||||
//config: on filesystems.
|
||||
//config: df reports the amount of disk space used and available
|
||||
//config: on filesystems.
|
||||
//config:
|
||||
//config:config FEATURE_DF_FANCY
|
||||
//config: bool "Enable -a, -i, -B"
|
||||
//config: default y
|
||||
//config: depends on DF
|
||||
//config: help
|
||||
//config: -a Show all filesystems
|
||||
//config: -i Inodes
|
||||
//config: -B <SIZE> Blocksize
|
||||
//config: -a Show all filesystems
|
||||
//config: -i Inodes
|
||||
//config: -B <SIZE> Blocksize
|
||||
|
||||
//applet:IF_DF(APPLET(df, BB_DIR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "dirname (289 bytes)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: dirname is used to strip a non-directory suffix from
|
||||
//config: a file name.
|
||||
//config: dirname is used to strip a non-directory suffix from
|
||||
//config: a file name.
|
||||
|
||||
//applet:IF_DIRNAME(APPLET_NOFORK(dirname, dirname, BB_DIR_USR_BIN, BB_SUID_DROP, dirname))
|
||||
|
||||
|
||||
@@ -15,15 +15,15 @@
|
||||
//config: bool "dos2unix (5.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: dos2unix is used to convert a text file from DOS format to
|
||||
//config: UNIX format, and vice versa.
|
||||
//config: dos2unix is used to convert a text file from DOS format to
|
||||
//config: UNIX format, and vice versa.
|
||||
//config:
|
||||
//config:config UNIX2DOS
|
||||
//config: bool "unix2dos (5.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: unix2dos is used to convert a text file from UNIX format to
|
||||
//config: DOS format, and vice versa.
|
||||
//config: unix2dos is used to convert a text file from UNIX format to
|
||||
//config: DOS format, and vice versa.
|
||||
|
||||
//applet:IF_DOS2UNIX(APPLET_NOEXEC(dos2unix, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, dos2unix))
|
||||
//applet:IF_UNIX2DOS(APPLET_NOEXEC(unix2dos, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, unix2dos))
|
||||
|
||||
@@ -22,15 +22,15 @@
|
||||
//config: bool "du (default blocksize of 512 bytes)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: du is used to report the amount of disk space used
|
||||
//config: for specified files.
|
||||
//config: du is used to report the amount of disk space used
|
||||
//config: for specified files.
|
||||
//config:
|
||||
//config:config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
|
||||
//config: bool "Use a default blocksize of 1024 bytes (1K)"
|
||||
//config: default y
|
||||
//config: depends on DU
|
||||
//config: help
|
||||
//config: Use a blocksize of (1K) instead of the default 512b.
|
||||
//config: Use a blocksize of (1K) instead of the default 512b.
|
||||
|
||||
//applet:IF_DU(APPLET(du, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//config: bool "echo (basic SuSv3 version taking no options)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: echo is used to print a specified string to stdout.
|
||||
//config: echo is used to print a specified string to stdout.
|
||||
//config:
|
||||
//config:# this entry also appears in shell/Config.in, next to the echo builtin
|
||||
//config:config FEATURE_FANCY_ECHO
|
||||
|
||||
@@ -27,9 +27,9 @@
|
||||
//config: bool "env (3.8 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: env is used to set an environment variable and run
|
||||
//config: a command; without options it displays the current
|
||||
//config: environment.
|
||||
//config: env is used to set an environment variable and run
|
||||
//config: a command; without options it displays the current
|
||||
//config: environment.
|
||||
//config:
|
||||
//config:config FEATURE_ENV_LONG_OPTIONS
|
||||
//config: bool "Enable long options"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
//config: bool "expand (5.8 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: By default, convert all tabs to spaces.
|
||||
//config: By default, convert all tabs to spaces.
|
||||
//config:
|
||||
//config:config FEATURE_EXPAND_LONG_OPTIONS
|
||||
//config: bool "Enable long options"
|
||||
@@ -35,7 +35,7 @@
|
||||
//config: bool "unexpand (6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: By default, convert only leading sequences of blanks to tabs.
|
||||
//config: By default, convert only leading sequences of blanks to tabs.
|
||||
//config:
|
||||
//config:config FEATURE_UNEXPAND_LONG_OPTIONS
|
||||
//config: bool "Enable long options"
|
||||
|
||||
@@ -26,17 +26,17 @@
|
||||
//config: bool "expr (6.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: expr is used to calculate numbers and print the result
|
||||
//config: to standard output.
|
||||
//config: expr is used to calculate numbers and print the result
|
||||
//config: to standard output.
|
||||
//config:
|
||||
//config:config EXPR_MATH_SUPPORT_64
|
||||
//config: bool "Extend Posix numbers support to 64 bit"
|
||||
//config: default y
|
||||
//config: depends on EXPR
|
||||
//config: help
|
||||
//config: Enable 64-bit math support in the expr applet. This will make
|
||||
//config: the applet slightly larger, but will allow computation with very
|
||||
//config: large numbers.
|
||||
//config: Enable 64-bit math support in the expr applet. This will make
|
||||
//config: the applet slightly larger, but will allow computation with very
|
||||
//config: large numbers.
|
||||
|
||||
//applet:IF_EXPR(APPLET(expr, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//config: bool "factor (2.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: factor factorizes integers
|
||||
//config: factor factorizes integers
|
||||
|
||||
//applet:IF_FACTOR(APPLET(factor, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//config: bool "false (tiny)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: false returns an exit code of FALSE (1).
|
||||
//config: false returns an exit code of FALSE (1).
|
||||
|
||||
//applet:IF_FALSE(APPLET_NOFORK(false, false, BB_DIR_BIN, BB_SUID_DROP, false))
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
//config: bool "fold (4.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Wrap text to fit a specific width.
|
||||
//config: Wrap text to fit a specific width.
|
||||
|
||||
//applet:IF_FOLD(APPLET_NOEXEC(fold, fold, BB_DIR_USR_BIN, BB_SUID_DROP, fold))
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//config: bool "fsync (3.7 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: fsync is used to flush file-related cached blocks to disk.
|
||||
//config: fsync is used to flush file-related cached blocks to disk.
|
||||
|
||||
//applet:IF_FSYNC(APPLET_NOFORK(fsync, fsync, BB_DIR_BIN, BB_SUID_DROP, fsync))
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "head (3.7 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: head is used to print the first specified number of lines
|
||||
//config: from files.
|
||||
//config: head is used to print the first specified number of lines
|
||||
//config: from files.
|
||||
//config:
|
||||
//config:config FEATURE_FANCY_HEAD
|
||||
//config: bool "Enable -c, -q, and -v"
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "hostid (247 bytes)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: hostid prints the numeric identifier (in hexadecimal) for
|
||||
//config: the current host.
|
||||
//config: hostid prints the numeric identifier (in hexadecimal) for
|
||||
//config: the current host.
|
||||
|
||||
//applet:IF_HOSTID(APPLET_NOFORK(hostid, hostid, BB_DIR_USR_BIN, BB_SUID_DROP, hostid))
|
||||
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
//config: bool "id (6.7 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: id displays the current user and group ID names.
|
||||
//config: id displays the current user and group ID names.
|
||||
//config:
|
||||
//config:config GROUPS
|
||||
//config: bool "groups (6.5 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Print the group names associated with current user id.
|
||||
//config: Print the group names associated with current user id.
|
||||
|
||||
//applet:IF_GROUPS(APPLET_NOEXEC(groups, id, BB_DIR_USR_BIN, BB_SUID_DROP, groups))
|
||||
//applet:IF_ID( APPLET_NOEXEC(id, id, BB_DIR_USR_BIN, BB_SUID_DROP, id ))
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
//config: bool "install (12 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Copy files and set attributes.
|
||||
//config: Copy files and set attributes.
|
||||
//config:
|
||||
//config:config FEATURE_INSTALL_LONG_OPTIONS
|
||||
//config: bool "Enable long options"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
//config: bool "link (3.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: link creates hard links between files.
|
||||
//config: link creates hard links between files.
|
||||
|
||||
//applet:IF_LINK(APPLET_NOFORK(link, link, BB_DIR_BIN, BB_SUID_DROP, link))
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//config: bool "ln (4.5 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: ln is used to create hard or soft links between files.
|
||||
//config: ln is used to create hard or soft links between files.
|
||||
|
||||
//applet:IF_LN(APPLET_NOEXEC(ln, ln, BB_DIR_BIN, BB_SUID_DROP, ln))
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
//config: bool "logname (894 bytes)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: logname is used to print the current user's login name.
|
||||
//config: logname is used to print the current user's login name.
|
||||
|
||||
//applet:IF_LOGNAME(APPLET_NOFORK(logname, logname, BB_DIR_USR_BIN, BB_SUID_DROP, logname))
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
//config: bool "ls (14 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: ls is used to list the contents of directories.
|
||||
//config: ls is used to list the contents of directories.
|
||||
//config:
|
||||
//config:config FEATURE_LS_FILETYPES
|
||||
//config: bool "Enable filetyping options (-p and -F)"
|
||||
@@ -58,39 +58,39 @@
|
||||
//config: default y
|
||||
//config: depends on LS
|
||||
//config: help
|
||||
//config: Allow ls to sort file names alphabetically.
|
||||
//config: Allow ls to sort file names alphabetically.
|
||||
//config:
|
||||
//config:config FEATURE_LS_TIMESTAMPS
|
||||
//config: bool "Show file timestamps"
|
||||
//config: default y
|
||||
//config: depends on LS
|
||||
//config: help
|
||||
//config: Allow ls to display timestamps for files.
|
||||
//config: Allow ls to display timestamps for files.
|
||||
//config:
|
||||
//config:config FEATURE_LS_USERNAME
|
||||
//config: bool "Show username/groupnames"
|
||||
//config: default y
|
||||
//config: depends on LS
|
||||
//config: help
|
||||
//config: Allow ls to display username/groupname for files.
|
||||
//config: Allow ls to display username/groupname for files.
|
||||
//config:
|
||||
//config:config FEATURE_LS_COLOR
|
||||
//config: bool "Allow use of color to identify file types"
|
||||
//config: default y
|
||||
//config: depends on LS && LONG_OPTS
|
||||
//config: help
|
||||
//config: This enables the --color option to ls.
|
||||
//config: This enables the --color option to ls.
|
||||
//config:
|
||||
//config:config FEATURE_LS_COLOR_IS_DEFAULT
|
||||
//config: bool "Produce colored ls output by default"
|
||||
//config: default y
|
||||
//config: depends on FEATURE_LS_COLOR
|
||||
//config: help
|
||||
//config: Saying yes here will turn coloring on by default,
|
||||
//config: even if no "--color" option is given to the ls command.
|
||||
//config: This is not recommended, since the colors are not
|
||||
//config: configurable, and the output may not be legible on
|
||||
//config: many output screens.
|
||||
//config: Saying yes here will turn coloring on by default,
|
||||
//config: even if no "--color" option is given to the ls command.
|
||||
//config: This is not recommended, since the colors are not
|
||||
//config: configurable, and the output may not be legible on
|
||||
//config: many output screens.
|
||||
|
||||
//applet:IF_LS(APPLET_NOEXEC(ls, ls, BB_DIR_BIN, BB_SUID_DROP, ls))
|
||||
|
||||
|
||||
@@ -9,31 +9,31 @@
|
||||
//config: bool "md5sum (6.8 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: md5sum is used to print or check MD5 checksums.
|
||||
//config: md5sum is used to print or check MD5 checksums.
|
||||
//config:
|
||||
//config:config SHA1SUM
|
||||
//config: bool "sha1sum (6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Compute and check SHA1 message digest
|
||||
//config: Compute and check SHA1 message digest
|
||||
//config:
|
||||
//config:config SHA256SUM
|
||||
//config: bool "sha256sum (7.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Compute and check SHA256 message digest
|
||||
//config: Compute and check SHA256 message digest
|
||||
//config:
|
||||
//config:config SHA512SUM
|
||||
//config: bool "sha512sum (7.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Compute and check SHA512 message digest
|
||||
//config: Compute and check SHA512 message digest
|
||||
//config:
|
||||
//config:config SHA3SUM
|
||||
//config: bool "sha3sum (6.3 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Compute and check SHA3 message digest
|
||||
//config: Compute and check SHA3 message digest
|
||||
//config:
|
||||
//config:comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum"
|
||||
//config: depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
|
||||
@@ -43,9 +43,9 @@
|
||||
//config: default y
|
||||
//config: depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
|
||||
//config: help
|
||||
//config: Enabling the -c options allows files to be checked
|
||||
//config: against pre-calculated hash values.
|
||||
//config: -s and -w are useful options when verifying checksums.
|
||||
//config: Enabling the -c options allows files to be checked
|
||||
//config: against pre-calculated hash values.
|
||||
//config: -s and -w are useful options when verifying checksums.
|
||||
|
||||
//applet:IF_MD5SUM(APPLET_NOEXEC(md5sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, md5sum))
|
||||
//applet:IF_SHA1SUM(APPLET_NOEXEC(sha1sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha1sum))
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
//config: bool "mkdir (4.4 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: mkdir is used to create directories with the specified names.
|
||||
//config: mkdir is used to create directories with the specified names.
|
||||
//config:
|
||||
//config:config FEATURE_MKDIR_LONG_OPTIONS
|
||||
//config: bool "Enable long options"
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "mkfifo (3.7 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: mkfifo is used to create FIFOs (named pipes).
|
||||
//config: The 'mknod' program can also create FIFOs.
|
||||
//config: mkfifo is used to create FIFOs (named pipes).
|
||||
//config: The 'mknod' program can also create FIFOs.
|
||||
|
||||
//applet:IF_MKFIFO(APPLET_NOEXEC(mkfifo, mkfifo, BB_DIR_USR_BIN, BB_SUID_DROP, mkfifo))
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "mknod (4 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: mknod is used to create FIFOs or block/character special
|
||||
//config: files with the specified names.
|
||||
//config: mknod is used to create FIFOs or block/character special
|
||||
//config: files with the specified names.
|
||||
|
||||
//applet:IF_MKNOD(APPLET_NOEXEC(mknod, mknod, BB_DIR_BIN, BB_SUID_DROP, mknod))
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
//config: bool "mktemp (4 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: mktemp is used to create unique temporary files
|
||||
//config: mktemp is used to create unique temporary files
|
||||
|
||||
//applet:IF_MKTEMP(APPLET(mktemp, BB_DIR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
//config: bool "mv (9.8 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: mv is used to move or rename files or directories.
|
||||
//config: mv is used to move or rename files or directories.
|
||||
//config:
|
||||
//config:config FEATURE_MV_LONG_OPTIONS
|
||||
//config: bool "Enable long options"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//config: bool "nice (1.8 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: nice runs a program with modified scheduling priority.
|
||||
//config: nice runs a program with modified scheduling priority.
|
||||
|
||||
//applet:IF_NICE(APPLET(nice, BB_DIR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
//config: bool "nl (4.3 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: nl is used to number lines of files.
|
||||
//config: nl is used to number lines of files.
|
||||
|
||||
//applet:IF_NL(APPLET(nl, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
//config: bool "nohup (2 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: run a command immune to hangups, with output to a non-tty.
|
||||
//config: run a command immune to hangups, with output to a non-tty.
|
||||
|
||||
//applet:IF_NOHUP(APPLET(nohup, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//config: bool "nproc (248 bytes)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Print number of CPUs
|
||||
//config: Print number of CPUs
|
||||
|
||||
//applet:IF_NPROC(APPLET(nproc, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
//config: bool "od (11 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: od is used to dump binary files in octal and other formats.
|
||||
//config: od is used to dump binary files in octal and other formats.
|
||||
|
||||
//applet:IF_OD(APPLET(od, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "paste (4.5 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: paste is used to paste lines of different files together
|
||||
//config: and write the result to stdout
|
||||
//config: paste is used to paste lines of different files together
|
||||
//config: and write the result to stdout
|
||||
|
||||
//applet:IF_PASTE(APPLET_NOEXEC(paste, paste, BB_DIR_USR_BIN, BB_SUID_DROP, paste))
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//config: bool "printenv (1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: printenv is used to print all or part of environment.
|
||||
//config: printenv is used to print all or part of environment.
|
||||
|
||||
//applet:IF_PRINTENV(APPLET_NOFORK(printenv, printenv, BB_DIR_BIN, BB_SUID_DROP, printenv))
|
||||
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
//config: bool "printf (3.3 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: printf is used to format and print specified strings.
|
||||
//config: It's similar to `echo' except it has more options.
|
||||
//config: printf is used to format and print specified strings.
|
||||
//config: It's similar to `echo' except it has more options.
|
||||
|
||||
//applet:IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf))
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//config: bool "pwd (3.4 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: pwd is used to print the current directory.
|
||||
//config: pwd is used to print the current directory.
|
||||
|
||||
//applet:IF_PWD(APPLET_NOFORK(pwd, pwd, BB_DIR_BIN, BB_SUID_DROP, pwd))
|
||||
|
||||
|
||||
@@ -10,15 +10,15 @@
|
||||
//config: bool "readlink (3.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: This program reads a symbolic link and returns the name
|
||||
//config: of the file it points to
|
||||
//config: This program reads a symbolic link and returns the name
|
||||
//config: of the file it points to
|
||||
//config:
|
||||
//config:config FEATURE_READLINK_FOLLOW
|
||||
//config: bool "Enable canonicalization by following all symlinks (-f)"
|
||||
//config: default y
|
||||
//config: depends on READLINK
|
||||
//config: help
|
||||
//config: Enable the readlink option (-f).
|
||||
//config: Enable the readlink option (-f).
|
||||
|
||||
//applet:IF_READLINK(APPLET(readlink, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "realpath (1.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Return the canonicalized absolute pathname.
|
||||
//config: This isn't provided by GNU shellutils, but where else does it belong.
|
||||
//config: Return the canonicalized absolute pathname.
|
||||
//config: This isn't provided by GNU shellutils, but where else does it belong.
|
||||
|
||||
//applet:IF_REALPATH(APPLET(realpath, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
//config: bool "rm (4.9 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: rm is used to remove files or directories.
|
||||
//config: rm is used to remove files or directories.
|
||||
|
||||
//applet:IF_RM(APPLET_NOFORK(rm, rm, BB_DIR_BIN, BB_SUID_DROP, rm))
|
||||
|
||||
|
||||
@@ -10,15 +10,15 @@
|
||||
//config: bool "rmdir (3.4 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: rmdir is used to remove empty directories.
|
||||
//config: rmdir is used to remove empty directories.
|
||||
//config:
|
||||
//config:config FEATURE_RMDIR_LONG_OPTIONS
|
||||
//config: bool "Enable long options"
|
||||
//config: default y
|
||||
//config: depends on RMDIR && LONG_OPTS
|
||||
//config: help
|
||||
//config: Support long options for the rmdir applet, including
|
||||
//config: --ignore-fail-on-non-empty for compatibility with GNU rmdir.
|
||||
//config: Support long options for the rmdir applet, including
|
||||
//config: --ignore-fail-on-non-empty for compatibility with GNU rmdir.
|
||||
|
||||
//applet:IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, BB_DIR_BIN, BB_SUID_DROP, rmdir))
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//config: bool "seq (3.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: print a sequence of numbers
|
||||
//config: print a sequence of numbers
|
||||
|
||||
//applet:IF_SEQ(APPLET_NOFORK(seq, seq, BB_DIR_USR_BIN, BB_SUID_DROP, seq))
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
//config: bool "shred (5 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Overwrite a file to hide its contents, and optionally delete it
|
||||
//config: Overwrite a file to hide its contents, and optionally delete it
|
||||
|
||||
//applet:IF_SHRED(APPLET(shred, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//config: bool "shuf (5.4 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Generate random permutations
|
||||
//config: Generate random permutations
|
||||
|
||||
//kbuild:lib-$(CONFIG_SHUF) += shuf.o
|
||||
//applet:IF_SHUF(APPLET_NOEXEC(shuf, shuf, BB_DIR_USR_BIN, BB_SUID_DROP, shuf))
|
||||
|
||||
@@ -16,29 +16,29 @@
|
||||
//config: bool "sleep (1.7 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: sleep is used to pause for a specified number of seconds.
|
||||
//config: It comes in 3 versions:
|
||||
//config: - small: takes one integer parameter
|
||||
//config: - fancy: takes multiple integer arguments with suffixes:
|
||||
//config: sleep 1d 2h 3m 15s
|
||||
//config: - fancy with fractional numbers:
|
||||
//config: sleep 2.3s 4.5h sleeps for 16202.3 seconds
|
||||
//config: Last one is "the most compatible" with coreutils sleep,
|
||||
//config: but it adds around 1k of code.
|
||||
//config: sleep is used to pause for a specified number of seconds.
|
||||
//config: It comes in 3 versions:
|
||||
//config: - small: takes one integer parameter
|
||||
//config: - fancy: takes multiple integer arguments with suffixes:
|
||||
//config: sleep 1d 2h 3m 15s
|
||||
//config: - fancy with fractional numbers:
|
||||
//config: sleep 2.3s 4.5h sleeps for 16202.3 seconds
|
||||
//config: Last one is "the most compatible" with coreutils sleep,
|
||||
//config: but it adds around 1k of code.
|
||||
//config:
|
||||
//config:config FEATURE_FANCY_SLEEP
|
||||
//config: bool "Enable multiple arguments and s/m/h/d suffixes"
|
||||
//config: default y
|
||||
//config: depends on SLEEP
|
||||
//config: help
|
||||
//config: Allow sleep to pause for specified minutes, hours, and days.
|
||||
//config: Allow sleep to pause for specified minutes, hours, and days.
|
||||
//config:
|
||||
//config:config FEATURE_FLOAT_SLEEP
|
||||
//config: bool "Enable fractional arguments"
|
||||
//config: default y
|
||||
//config: depends on FEATURE_FANCY_SLEEP
|
||||
//config: help
|
||||
//config: Allow for fractional numeric parameters.
|
||||
//config: Allow for fractional numeric parameters.
|
||||
|
||||
/* Do not make this applet NOFORK. It breaks ^C-ing of pauses in shells */
|
||||
//applet:IF_SLEEP(APPLET(sleep, BB_DIR_BIN, BB_SUID_DROP))
|
||||
|
||||
@@ -15,19 +15,19 @@
|
||||
//config: bool "sort (7.4 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: sort is used to sort lines of text in specified files.
|
||||
//config: sort is used to sort lines of text in specified files.
|
||||
//config:
|
||||
//config:config FEATURE_SORT_BIG
|
||||
//config: bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
|
||||
//config: default y
|
||||
//config: depends on SORT
|
||||
//config: help
|
||||
//config: Without this, sort only supports -r, -u, and an integer version
|
||||
//config: of -n. Selecting this adds sort keys, floating point support, and
|
||||
//config: more. This adds a little over 3k to a nonstatic build on x86.
|
||||
//config: Without this, sort only supports -r, -u, and an integer version
|
||||
//config: of -n. Selecting this adds sort keys, floating point support, and
|
||||
//config: more. This adds a little over 3k to a nonstatic build on x86.
|
||||
//config:
|
||||
//config: The SuSv3 sort standard is available at:
|
||||
//config: http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
|
||||
//config: The SuSv3 sort standard is available at:
|
||||
//config: http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
|
||||
|
||||
//applet:IF_SORT(APPLET_NOEXEC(sort, sort, BB_DIR_USR_BIN, BB_SUID_DROP, sort))
|
||||
|
||||
|
||||
@@ -9,16 +9,16 @@
|
||||
//config: bool "split (5.4 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Split a file into pieces.
|
||||
//config: Split a file into pieces.
|
||||
//config:
|
||||
//config:config FEATURE_SPLIT_FANCY
|
||||
//config: bool "Fancy extensions"
|
||||
//config: default y
|
||||
//config: depends on SPLIT
|
||||
//config: help
|
||||
//config: Add support for features not required by SUSv3.
|
||||
//config: Supports additional suffixes 'b' for 512 bytes,
|
||||
//config: 'g' for 1GiB for the -b option.
|
||||
//config: Add support for features not required by SUSv3.
|
||||
//config: Supports additional suffixes 'b' for 512 bytes,
|
||||
//config: 'g' for 1GiB for the -b option.
|
||||
|
||||
//applet:IF_SPLIT(APPLET(split, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -16,16 +16,16 @@
|
||||
//config: bool "stat (10 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: display file or filesystem status.
|
||||
//config: display file or filesystem status.
|
||||
//config:
|
||||
//config:config FEATURE_STAT_FORMAT
|
||||
//config: bool "Enable custom formats (-c)"
|
||||
//config: default y
|
||||
//config: depends on STAT
|
||||
//config: help
|
||||
//config: Without this, stat will not support the '-c format' option where
|
||||
//config: users can pass a custom format string for output. This adds about
|
||||
//config: 7k to a nonstatic build on amd64.
|
||||
//config: Without this, stat will not support the '-c format' option where
|
||||
//config: users can pass a custom format string for output. This adds about
|
||||
//config: 7k to a nonstatic build on amd64.
|
||||
//config:
|
||||
//config:config FEATURE_STAT_FILESYSTEM
|
||||
//config: bool "Enable display of filesystem status (-f)"
|
||||
@@ -33,8 +33,8 @@
|
||||
//config: depends on STAT
|
||||
//config: select PLATFORM_LINUX # statfs()
|
||||
//config: help
|
||||
//config: Without this, stat will not support the '-f' option to display
|
||||
//config: information about filesystem status.
|
||||
//config: Without this, stat will not support the '-f' option to display
|
||||
//config: information about filesystem status.
|
||||
|
||||
//applet:IF_STAT(APPLET(stat, BB_DIR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
//config: bool "stty (8.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: stty is used to change and print terminal line settings.
|
||||
//config: stty is used to change and print terminal line settings.
|
||||
|
||||
//applet:IF_STTY(APPLET(stty, BB_DIR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
//config: bool "sum (4.3 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: checksum and count the blocks in a file
|
||||
//config: checksum and count the blocks in a file
|
||||
|
||||
//applet:IF_SUM(APPLET(sum, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
//config: bool "sync (769 bytes)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: sync is used to flush filesystem buffers.
|
||||
//config: sync is used to flush filesystem buffers.
|
||||
//config:config FEATURE_SYNC_FANCY
|
||||
//config: bool "Enable -d and -f flags (requires syncfs(2) in libc)"
|
||||
//config: default y
|
||||
//config: depends on SYNC
|
||||
//config: help
|
||||
//config: sync -d FILE... executes fdatasync() on each FILE.
|
||||
//config: sync -f FILE... executes syncfs() on each FILE.
|
||||
//config: sync -d FILE... executes fdatasync() on each FILE.
|
||||
//config: sync -f FILE... executes syncfs() on each FILE.
|
||||
|
||||
//applet:IF_SYNC(APPLET_NOFORK(sync, sync, BB_DIR_BIN, BB_SUID_DROP, sync))
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
//config: bool "tac (4.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: tac is used to concatenate and print files in reverse.
|
||||
//config: tac is used to concatenate and print files in reverse.
|
||||
|
||||
//applet:IF_TAC(APPLET_NOEXEC(tac, tac, BB_DIR_USR_BIN, BB_SUID_DROP, tac))
|
||||
|
||||
|
||||
@@ -22,20 +22,20 @@
|
||||
//config: bool "tail (7.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: tail is used to print the last specified number of lines
|
||||
//config: from files.
|
||||
//config: tail is used to print the last specified number of lines
|
||||
//config: from files.
|
||||
//config:
|
||||
//config:config FEATURE_FANCY_TAIL
|
||||
//config: bool "Enable -q, -s, -v, and -F options"
|
||||
//config: default y
|
||||
//config: depends on TAIL
|
||||
//config: help
|
||||
//config: These options are provided by GNU tail, but
|
||||
//config: are not specific in the SUSv3 standard:
|
||||
//config: -q Never output headers giving file names
|
||||
//config: -s SEC Wait SEC seconds between reads with -f
|
||||
//config: -v Always output headers giving file names
|
||||
//config: -F Same as -f, but keep retrying
|
||||
//config: These options are provided by GNU tail, but
|
||||
//config: are not specified in the SUSv3 standard:
|
||||
//config: -q Never output headers giving file names
|
||||
//config: -s SEC Wait SEC seconds between reads with -f
|
||||
//config: -v Always output headers giving file names
|
||||
//config: -F Same as -f, but keep retrying
|
||||
|
||||
//applet:IF_TAIL(APPLET(tail, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -10,15 +10,15 @@
|
||||
//config: bool "tee (4.3 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: tee is used to read from standard input and write
|
||||
//config: to standard output and files.
|
||||
//config: tee is used to read from standard input and write
|
||||
//config: to standard output and files.
|
||||
//config:
|
||||
//config:config FEATURE_TEE_USE_BLOCK_IO
|
||||
//config: bool "Enable block I/O (larger/faster) instead of byte I/O"
|
||||
//config: default y
|
||||
//config: depends on TEE
|
||||
//config: help
|
||||
//config: Enable this option for a faster tee, at expense of size.
|
||||
//config: Enable this option for a faster tee, at expense of size.
|
||||
|
||||
//applet:IF_TEE(APPLET(tee, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -23,28 +23,28 @@
|
||||
//config: bool "test (3.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: test is used to check file types and compare values,
|
||||
//config: returning an appropriate exit code. The bash shell
|
||||
//config: has test built in, ash can build it in optionally.
|
||||
//config: test is used to check file types and compare values,
|
||||
//config: returning an appropriate exit code. The bash shell
|
||||
//config: has test built in, ash can build it in optionally.
|
||||
//config:
|
||||
//config:config TEST1
|
||||
//config: bool "test as ["
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Provide test command in the "[ EXPR ]" form
|
||||
//config: Provide test command in the "[ EXPR ]" form
|
||||
//config:
|
||||
//config:config TEST2
|
||||
//config: bool "test as [["
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Provide test command in the "[[ EXPR ]]" form
|
||||
//config: Provide test command in the "[[ EXPR ]]" form
|
||||
//config:
|
||||
//config:config FEATURE_TEST_64
|
||||
//config: bool "Extend test to 64 bit"
|
||||
//config: default y
|
||||
//config: depends on TEST || TEST1 || TEST2 || ASH_TEST || HUSH_TEST
|
||||
//config: help
|
||||
//config: Enable 64-bit support in test.
|
||||
//config: Enable 64-bit support in test.
|
||||
|
||||
//applet:IF_TEST(APPLET_NOFORK(test, test, BB_DIR_USR_BIN, BB_SUID_DROP, test))
|
||||
//applet:IF_TEST1(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test))
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
//config: bool "timeout (5.5 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Runs a program and watches it. If it does not terminate in
|
||||
//config: specified number of seconds, it is sent a signal.
|
||||
//config: Runs a program and watches it. If it does not terminate in
|
||||
//config: specified number of seconds, it is sent a signal.
|
||||
|
||||
//applet:IF_TIMEOUT(APPLET(timeout, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -16,23 +16,23 @@
|
||||
//config: bool "touch (5.8 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: touch is used to create or change the access and/or
|
||||
//config: modification timestamp of specified files.
|
||||
//config: touch is used to create or change the access and/or
|
||||
//config: modification timestamp of specified files.
|
||||
//config:
|
||||
//config:config FEATURE_TOUCH_NODEREF
|
||||
//config: bool "Add support for -h"
|
||||
//config: default y
|
||||
//config: depends on TOUCH
|
||||
//config: help
|
||||
//config: Enable touch to have the -h option.
|
||||
//config: This requires libc support for lutimes() function.
|
||||
//config: Enable touch to have the -h option.
|
||||
//config: This requires libc support for lutimes() function.
|
||||
//config:
|
||||
//config:config FEATURE_TOUCH_SUSV3
|
||||
//config: bool "Add support for SUSV3 features (-d -t -r)"
|
||||
//config: default y
|
||||
//config: depends on TOUCH
|
||||
//config: help
|
||||
//config: Enable touch to use a reference file or a given date/time argument.
|
||||
//config: Enable touch to use a reference file or a given date/time argument.
|
||||
|
||||
//applet:IF_TOUCH(APPLET_NOFORK(touch, touch, BB_DIR_BIN, BB_SUID_DROP, touch))
|
||||
|
||||
|
||||
@@ -22,27 +22,27 @@
|
||||
//config: bool "tr (5.5 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: tr is used to squeeze, and/or delete characters from standard
|
||||
//config: input, writing to standard output.
|
||||
//config: tr is used to squeeze, and/or delete characters from standard
|
||||
//config: input, writing to standard output.
|
||||
//config:
|
||||
//config:config FEATURE_TR_CLASSES
|
||||
//config: bool "Enable character classes (such as [:upper:])"
|
||||
//config: default y
|
||||
//config: depends on TR
|
||||
//config: help
|
||||
//config: Enable character classes, enabling commands such as:
|
||||
//config: tr [:upper:] [:lower:] to convert input into lowercase.
|
||||
//config: Enable character classes, enabling commands such as:
|
||||
//config: tr [:upper:] [:lower:] to convert input into lowercase.
|
||||
//config:
|
||||
//config:config FEATURE_TR_EQUIV
|
||||
//config: bool "Enable equivalence classes"
|
||||
//config: default y
|
||||
//config: depends on TR
|
||||
//config: help
|
||||
//config: Enable equivalence classes, which essentially add the enclosed
|
||||
//config: character to the current set. For instance, tr [=a=] xyz would
|
||||
//config: replace all instances of 'a' with 'xyz'. This option is mainly
|
||||
//config: useful for cases when no other way of expressing a character
|
||||
//config: is possible.
|
||||
//config: Enable equivalence classes, which essentially add the enclosed
|
||||
//config: character to the current set. For instance, tr [=a=] xyz would
|
||||
//config: replace all instances of 'a' with 'xyz'. This option is mainly
|
||||
//config: useful for cases when no other way of expressing a character
|
||||
//config: is possible.
|
||||
|
||||
//applet:IF_TR(APPLET(tr, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//config: bool "true (tiny)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: true returns an exit code of TRUE (0).
|
||||
//config: true returns an exit code of TRUE (0).
|
||||
|
||||
//applet:IF_TRUE(APPLET_NOFORK(true, true, BB_DIR_BIN, BB_SUID_DROP, true))
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
//config: bool "truncate (4.7 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: truncate truncates files to a given size. If a file does
|
||||
//config: not exist, it is created unless told otherwise.
|
||||
//config: truncate truncates files to a given size. If a file does
|
||||
//config: not exist, it is created unless told otherwise.
|
||||
|
||||
//applet:IF_TRUNCATE(APPLET_NOFORK(truncate, truncate, BB_DIR_USR_BIN, BB_SUID_DROP, truncate))
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "tty (3.3 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: tty is used to print the name of the current terminal to
|
||||
//config: standard output.
|
||||
//config: tty is used to print the name of the current terminal to
|
||||
//config: standard output.
|
||||
|
||||
//applet:IF_TTY(APPLET(tty, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -46,22 +46,22 @@
|
||||
//config: bool "uname (3.7 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: uname is used to print system information.
|
||||
//config: uname is used to print system information.
|
||||
//config:
|
||||
//config:config UNAME_OSNAME
|
||||
//config: string "Operating system name"
|
||||
//config: default "GNU/Linux"
|
||||
//config: depends on UNAME
|
||||
//config: help
|
||||
//config: Sets the operating system name reported by uname -o. The
|
||||
//config: default is "GNU/Linux".
|
||||
//config: Sets the operating system name reported by uname -o. The
|
||||
//config: default is "GNU/Linux".
|
||||
//config:
|
||||
//can't use "ARCH" for this applet, all hell breaks loose in build system :)
|
||||
//config:config BB_ARCH
|
||||
//config: bool "arch (1.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Same as uname -m.
|
||||
//config: Same as uname -m.
|
||||
|
||||
//applet:IF_UNAME(APPLET(uname, BB_DIR_BIN, BB_SUID_DROP))
|
||||
// APPLET_ODDNAME:name main location suid_type help
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//config: bool "uniq (4.8 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: uniq is used to remove duplicate lines from a sorted file.
|
||||
//config: uniq is used to remove duplicate lines from a sorted file.
|
||||
|
||||
//applet:IF_UNIQ(APPLET(uniq, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
//config: bool "unlink (3.5 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: unlink deletes a file by calling unlink()
|
||||
//config: unlink deletes a file by calling unlink()
|
||||
|
||||
//applet:IF_UNLINK(APPLET(unlink, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//config: bool "usleep (1.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: usleep is used to pause for a specified number of microseconds.
|
||||
//config: usleep is used to pause for a specified number of microseconds.
|
||||
|
||||
//applet:IF_USLEEP(APPLET_NOFORK(usleep, usleep, BB_DIR_BIN, BB_SUID_DROP, usleep))
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
//config: bool "uudecode (5.9 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: uudecode is used to decode a uuencoded file.
|
||||
//config: uudecode is used to decode a uuencoded file.
|
||||
|
||||
//applet:IF_UUDECODE(APPLET(uudecode, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
@@ -179,7 +179,7 @@ int uudecode_main(int argc UNUSED_PARAM, char **argv)
|
||||
//config: bool "base64 (5 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Base64 encode and decode
|
||||
//config: Base64 encode and decode
|
||||
|
||||
//usage:#define base64_trivial_usage
|
||||
//usage: "[-d] [FILE]"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//config: bool "uuencode (4.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: uuencode is used to uuencode a file.
|
||||
//config: uuencode is used to uuencode a file.
|
||||
|
||||
//applet:IF_UUENCODE(APPLET(uuencode, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -36,15 +36,15 @@
|
||||
//config: bool "wc (4.4 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: wc is used to print the number of bytes, words, and lines,
|
||||
//config: in specified files.
|
||||
//config: wc is used to print the number of bytes, words, and lines,
|
||||
//config: in specified files.
|
||||
//config:
|
||||
//config:config FEATURE_WC_LARGE
|
||||
//config: bool "Support very large counts"
|
||||
//config: default y
|
||||
//config: depends on WC
|
||||
//config: help
|
||||
//config: Use "unsigned long long" for counter variables.
|
||||
//config: Use "unsigned long long" for counter variables.
|
||||
|
||||
//applet:IF_WC(APPLET(wc, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
||||
@@ -17,26 +17,26 @@
|
||||
*----------------------------------------------------------------------
|
||||
*/
|
||||
//config:config WHO
|
||||
//config: bool "who (3.7 kb)"
|
||||
//config: default y
|
||||
//config: depends on FEATURE_UTMP
|
||||
//config: help
|
||||
//config: who is used to show who is logged on.
|
||||
//config: bool "who (3.7 kb)"
|
||||
//config: default y
|
||||
//config: depends on FEATURE_UTMP
|
||||
//config: help
|
||||
//config: Print users currently logged on.
|
||||
//config:
|
||||
// procps-ng has this variation of "who":
|
||||
//config:config W
|
||||
//config: bool "w (3.7 kb)"
|
||||
//config: default y
|
||||
//config: depends on FEATURE_UTMP
|
||||
//config: help
|
||||
//config: w is used to show who is logged on.
|
||||
//config: bool "w (3.7 kb)"
|
||||
//config: default y
|
||||
//config: depends on FEATURE_UTMP
|
||||
//config: help
|
||||
//config: Print users currently logged on.
|
||||
//config:
|
||||
//config:config USERS
|
||||
//config: bool "users (3.2 kb)"
|
||||
//config: default y
|
||||
//config: depends on FEATURE_UTMP
|
||||
//config: help
|
||||
//config: Print users currently logged on.
|
||||
//config: bool "users (3.2 kb)"
|
||||
//config: default y
|
||||
//config: depends on FEATURE_UTMP
|
||||
//config: help
|
||||
//config: Print users currently logged on.
|
||||
|
||||
// APPLET_ODDNAME:name main location suid_type help
|
||||
//applet:IF_USERS(APPLET_ODDNAME(users, who, BB_DIR_USR_BIN, BB_SUID_DROP, users))
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
//config: bool "whoami (2.9 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: whoami is used to print the username of the current
|
||||
//config: user id (same as id -un).
|
||||
//config: whoami is used to print the username of the current
|
||||
//config: user id (same as id -un).
|
||||
|
||||
//applet:IF_WHOAMI(APPLET_NOFORK(whoami, whoami, BB_DIR_USR_BIN, BB_SUID_DROP, whoami))
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
//config: bool "yes (956 bytes)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: yes is used to repeatedly output a specific string, or
|
||||
//config: the default string `y'.
|
||||
//config: yes is used to repeatedly output a specific string, or
|
||||
//config: the default string `y'.
|
||||
|
||||
//applet:IF_YES(APPLET_NOFORK(yes, yes, BB_DIR_USR_BIN, BB_SUID_DROP, yes))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user