X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/92b5c08568cba5824036992a5dc817d920aea7bf..85df8e3708d3a0ce343ab8e34926441a8b434c47:/package/busybox/config/coreutils/Config.in diff --git a/package/busybox/config/coreutils/Config.in b/package/busybox/config/coreutils/Config.in index 2c4d8a3c6..0775b4cbc 100644 --- a/package/busybox/config/coreutils/Config.in +++ b/package/busybox/config/coreutils/Config.in @@ -10,7 +10,7 @@ config BUSYBOX_CONFIG_BASENAME default y help basename is used to strip the directory and suffix from filenames, - leaving just the filename itself. Enable this option if you wish + leaving just the filename itself. Enable this option if you wish to enable the 'basename' utility. config BUSYBOX_CONFIG_CAL @@ -24,7 +24,7 @@ config BUSYBOX_CONFIG_CAT default y help cat is used to concatenate files and print them to the standard - output. Enable this option if you wish to enable the 'cat' utility. + output. Enable this option if you wish to enable the 'cat' utility. config BUSYBOX_CONFIG_CATV bool "catv" @@ -117,7 +117,8 @@ config BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING print to standard error the number of records read and written so far, then to resume copying. - $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid + $ dd if=/dev/zero of=/dev/null& + $ pid=$! kill -USR1 $pid; sleep 1; kill $pid 10899206+0 records in 10899206+0 records out config BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS @@ -135,6 +136,13 @@ config BUSYBOX_CONFIG_DF df reports the amount of disk space used and available on filesystems. +config BUSYBOX_CONFIG_FEATURE_DF_FANCY + bool "Enable -a, -i, -B" + default n + depends on BUSYBOX_CONFIG_DF + help + This option enables -a, -i and -B. + config BUSYBOX_CONFIG_DIRNAME bool "dirname" default y @@ -181,7 +189,7 @@ config BUSYBOX_CONFIG_ECHO config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO bool "Enable echo options (-n and -e)" default y - depends on BUSYBOX_CONFIG_ECHO + depends on BUSYBOX_CONFIG_ECHO || BUSYBOX_CONFIG_ASH_BUILTIN_ECHO help This adds options (-n and -e) to echo. @@ -225,7 +233,7 @@ config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64 default n depends on BUSYBOX_CONFIG_EXPR help - Enable 64-bit math support in the expr applet. This will make + Enable 64-bit math support in the expr applet. This will make the applet slightly larger, but will allow computation with very large numbers. @@ -481,6 +489,14 @@ config BUSYBOX_CONFIG_RMDIR help rmdir is used to remove empty directories. +config BUSYBOX_CONFIG_FEATURE_RMDIR_LONG_OPTIONS + bool "Enable long options" + default n + depends on BUSYBOX_CONFIG_RMDIR && BUSYBOX_CONFIG_GETOPT_LONG + help + Support long options for the rmdir applet, including + --ignore-fail-on-non-empty for compatibility with GNU rmdir. + config BUSYBOX_CONFIG_SEQ bool "seq" default y @@ -494,18 +510,33 @@ config BUSYBOX_CONFIG_SHA1SUM Compute and check SHA1 message digest config BUSYBOX_CONFIG_SLEEP - bool "sleep (single integer arg with no suffix)" + bool "sleep" default y help - sleep is used to pause for a specified number of seconds, + sleep is used to pause for a specified number of seconds. + It comes in 3 versions: + - small: takes one integer parameter + - fancy: takes multiple integer arguments with suffixes: + sleep 1d 2h 3m 15s + - fancy with fractional numbers: + sleep 2.3s 4.5h sleeps for 16202.3 seconds + Last one is "the most compatible" with coreutils sleep, + but it adds around 1k of code. config BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP - bool "Enable multiple integer args and optional time suffixes" + bool "Enable multiple arguments and s/m/h/d suffixes" default y depends on BUSYBOX_CONFIG_SLEEP help Allow sleep to pause for specified minutes, hours, and days. +config BUSYBOX_CONFIG_FEATURE_FLOAT_SLEEP + bool "Enable fractional arguments" + default n + depends on BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP + help + Allow for fractional numeric parameters. + config BUSYBOX_CONFIG_SORT bool "sort" default y @@ -513,13 +544,13 @@ config BUSYBOX_CONFIG_SORT sort is used to sort lines of text in specified files. config BUSYBOX_CONFIG_FEATURE_SORT_BIG - bool "full SuSv3 compliant sort (Support -ktcsbdfiozgM)" + bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)" default n depends on BUSYBOX_CONFIG_SORT help - Without this, sort only supports -r, -u, and an integer version - of -n. Selecting this adds sort keys, floating point support, and - more. This adds a little over 3k to a nonstatic build on x86. + Without this, sort only supports -r, -u, and an integer version + of -n. Selecting this adds sort keys, floating point support, and + more. This adds a little over 3k to a nonstatic build on x86. The SuSv3 sort standard is available at: http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html @@ -531,7 +562,7 @@ config BUSYBOX_CONFIG_SPLIT split a file into pieces. config BUSYBOX_CONFIG_FEATURE_SPLIT_FANCY - bool "fancy extensions" + bool "Fancy extensions" default n depends on BUSYBOX_CONFIG_SPLIT help @@ -551,7 +582,7 @@ config BUSYBOX_CONFIG_FEATURE_STAT_FORMAT depends on BUSYBOX_CONFIG_STAT help Without this, stat will not support the '-c format' option where - users can pass a custom format string for output. This adds about + users can pass a custom format string for output. This adds about 7k to a nonstatic build on amd64. config BUSYBOX_CONFIG_STTY @@ -572,6 +603,12 @@ config BUSYBOX_CONFIG_SYNC help sync is used to flush filesystem buffers. +config BUSYBOX_CONFIG_TAC + bool "tac" + default n + help + tac is used to concatenate and print files in reverse. + config BUSYBOX_CONFIG_TAIL bool "tail" default y @@ -595,7 +632,7 @@ config BUSYBOX_CONFIG_TEE to standard output and files. config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO - bool "Enable block i/o (larger/faster) instead of byte i/o." + bool "Enable block I/O (larger/faster) instead of byte I/O" default y depends on BUSYBOX_CONFIG_TEE help @@ -606,13 +643,13 @@ config BUSYBOX_CONFIG_TEST default y help test is used to check file types and compare values, - returning an appropriate exit code. The bash shell + returning an appropriate exit code. The bash shell has test built in, ash can build it in optionally. config BUSYBOX_CONFIG_FEATURE_TEST_64 bool "Extend test to 64 bit" default n - depends on BUSYBOX_CONFIG_TEST + depends on BUSYBOX_CONFIG_TEST || BUSYBOX_CONFIG_ASH_BUILTIN_TEST help Enable 64-bit support in test. @@ -717,7 +754,7 @@ config BUSYBOX_CONFIG_FEATURE_WC_LARGE default n depends on BUSYBOX_CONFIG_WC help - Use "unsigned long long" in wc for count variables + Use "unsigned long long" in wc for count variables. config BUSYBOX_CONFIG_WHO bool "who"