Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
| 6 | menu "Coreutils" |
| 7 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 8 | config BASENAME |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 9 | bool "basename" |
| 10 | default n |
| 11 | help |
Eric Andersen | 4762a48 | 2003-04-04 14:35:36 +0000 | [diff] [blame] | 12 | basename is used to strip the directory and suffix from filenames, |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 13 | leaving just the filename itself. Enable this option if you wish |
Eric Andersen | 4762a48 | 2003-04-04 14:35:36 +0000 | [diff] [blame] | 14 | to enable the 'basename' utility. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 15 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 16 | config CAL |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 17 | bool "cal" |
| 18 | default n |
| 19 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 20 | cal is used to display a monthly calender. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 21 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 22 | config CAT |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 23 | bool "cat" |
| 24 | default n |
| 25 | help |
Eric Andersen | 982da3e | 2003-04-04 15:20:53 +0000 | [diff] [blame] | 26 | cat is used to concatenate files and print them to the standard |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 27 | output. Enable this option if you wish to enable the 'cat' utility. |
Rob Landley | eb29d6c | 2006-06-06 22:59:37 +0000 | [diff] [blame] | 28 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 29 | config CATV |
Rob Landley | 8abbee4 | 2006-05-31 19:36:04 +0000 | [diff] [blame] | 30 | bool "catv" |
| 31 | default n |
| 32 | help |
| 33 | Display nonprinting characters as escape sequences (like some |
| 34 | implementations' cat -v option). |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 35 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 36 | config CHGRP |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 37 | bool "chgrp" |
| 38 | default n |
| 39 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 40 | chgrp is used to change the group ownership of files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 41 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 42 | config CHMOD |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 43 | bool "chmod" |
| 44 | default n |
| 45 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 46 | chmod is used to change the access permission of files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 47 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 48 | config CHOWN |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 49 | bool "chown" |
| 50 | default n |
| 51 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 52 | chown is used to change the user and/or group ownership |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 53 | of files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 54 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 55 | config CHROOT |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 56 | bool "chroot" |
| 57 | default n |
| 58 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 59 | chroot is used to change the root directory and run a command. |
| 60 | The default command is `/bin/sh'. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 61 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 62 | config CKSUM |
Rob Landley | 856489b | 2006-04-18 20:57:28 +0000 | [diff] [blame] | 63 | bool "cksum" |
| 64 | default n |
| 65 | help |
| 66 | cksum is used to calculate the CRC32 checksum of a file. |
| 67 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 68 | config COMM |
Rob Landley | 2acfd7b | 2005-05-11 23:12:49 +0000 | [diff] [blame] | 69 | bool "comm" |
| 70 | default n |
| 71 | help |
| 72 | comm is used to compare two files line by line and return |
| 73 | a three-column output. |
| 74 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 75 | config CP |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 76 | bool "cp" |
| 77 | default n |
| 78 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 79 | cp is used to copy files and directories. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 80 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 81 | config CUT |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 82 | bool "cut" |
| 83 | default n |
| 84 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 85 | cut is used to print selected parts of lines from |
| 86 | each file to stdout. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 87 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 88 | config DATE |
Bernhard Reutner-Fischer | 96002bb | 2006-01-19 14:42:23 +0000 | [diff] [blame] | 89 | bool "date" |
| 90 | default n |
| 91 | help |
| 92 | date is used to set the system date or display the |
| 93 | current time in the given format. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 94 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 95 | config FEATURE_DATE_ISOFMT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 96 | bool "Enable ISO date format output (-I)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 97 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 98 | depends on DATE |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 99 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 100 | Enable option (-I) to output an ISO-8601 compliant |
| 101 | date/time string. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 102 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 103 | config DD |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 104 | bool "dd" |
| 105 | default n |
| 106 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 107 | dd copies a file (from standard input to standard output, |
| 108 | by default) using specific input and output blocksizes, |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 109 | while optionally performing conversions on it. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 110 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 111 | config FEATURE_DD_SIGNAL_HANDLING |
Rob Landley | c559817 | 2006-05-02 22:44:04 +0000 | [diff] [blame] | 112 | bool "Enable DD signal handling for status reporting" |
| 113 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 114 | depends on DD |
Rob Landley | c559817 | 2006-05-02 22:44:04 +0000 | [diff] [blame] | 115 | help |
Denis Vlasenko | 9213a9e | 2006-09-17 16:28:10 +0000 | [diff] [blame] | 116 | sending a SIGUSR1 signal to a running `dd' process makes it |
| 117 | print to standard error the number of records read and written |
Rob Landley | c559817 | 2006-05-02 22:44:04 +0000 | [diff] [blame] | 118 | so far, then to resume copying. |
| 119 | |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 120 | $ dd if=/dev/zero of=/dev/null& |
| 121 | $ pid=$! kill -USR1 $pid; sleep 1; kill $pid |
Rob Landley | c559817 | 2006-05-02 22:44:04 +0000 | [diff] [blame] | 122 | 10899206+0 records in 10899206+0 records out |
| 123 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 124 | config FEATURE_DD_IBS_OBS |
Rob Landley | 2686d3b | 2006-05-16 16:52:12 +0000 | [diff] [blame] | 125 | bool "Enable ibs, obs and conv options" |
| 126 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 127 | depends on DD |
Rob Landley | 2686d3b | 2006-05-16 16:52:12 +0000 | [diff] [blame] | 128 | help |
| 129 | Enables support for writing a certain number of bytes in and out, |
| 130 | at a time, and performing conversions on the data stream. |
| 131 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 132 | config DF |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 133 | bool "df" |
| 134 | default n |
| 135 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 136 | df reports the amount of disk space used and available |
| 137 | on filesystems. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 138 | |
Denis Vlasenko | d66aa3c | 2008-08-28 22:42:52 +0000 | [diff] [blame] | 139 | config FEATURE_DF_FANCY |
| 140 | bool "Enable -a, -i, -B" |
Denis Vlasenko | f430cdb | 2007-11-15 07:02:55 +0000 | [diff] [blame] | 141 | default n |
| 142 | depends on DF |
| 143 | help |
Denis Vlasenko | d66aa3c | 2008-08-28 22:42:52 +0000 | [diff] [blame] | 144 | This option enables -a, -i and -B. |
Denis Vlasenko | f430cdb | 2007-11-15 07:02:55 +0000 | [diff] [blame] | 145 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 146 | config DIRNAME |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 147 | bool "dirname" |
| 148 | default n |
| 149 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 150 | dirname is used to strip a non-directory suffix from |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 151 | a file name. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 152 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 153 | config DOS2UNIX |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 154 | bool "dos2unix/unix2dos" |
| 155 | default n |
| 156 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 157 | dos2unix is used to convert a text file from DOS format to |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 158 | UNIX format, and vice versa. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 159 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 160 | config UNIX2DOS |
Eric Andersen | 7c51243 | 2003-06-26 21:53:51 +0000 | [diff] [blame] | 161 | bool |
| 162 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 163 | depends on DOS2UNIX |
Bernhard Reutner-Fischer | 4f7953c | 2006-05-05 11:55:53 +0000 | [diff] [blame] | 164 | help |
| 165 | unix2dos is used to convert a text file from UNIX format to |
| 166 | DOS format, and vice versa. |
Eric Andersen | 7c51243 | 2003-06-26 21:53:51 +0000 | [diff] [blame] | 167 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 168 | config DU |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 169 | bool "du (default blocksize of 512 bytes)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 170 | default n |
| 171 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 172 | du is used to report the amount of disk space used |
| 173 | for specified files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 174 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 175 | config FEATURE_DU_DEFAULT_BLOCKSIZE_1K |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 176 | bool "Use a default blocksize of 1024 bytes (1K)" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 177 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 178 | depends on DU |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 179 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 180 | Use a blocksize of (1K) instead of the default 512b. |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 181 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 182 | config ECHO |
Mike Frysinger | 7f8797c | 2005-09-24 23:15:28 +0000 | [diff] [blame] | 183 | bool "echo (basic SuSv3 version taking no options)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 184 | default n |
| 185 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 186 | echo is used to print a specified string to stdout. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 187 | |
Paul Fox | 0b62158 | 2005-08-09 19:38:05 +0000 | [diff] [blame] | 188 | # this entry also appears in shell/Config.in, next to the echo builtin |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 189 | config FEATURE_FANCY_ECHO |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 190 | bool "Enable echo options (-n and -e)" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 191 | default y |
Denis Vlasenko | df6f95c | 2009-04-07 20:07:23 +0000 | [diff] [blame] | 192 | depends on ECHO || ASH_BUILTIN_ECHO || HUSH |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 193 | help |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 194 | This adds options (-n and -e) to echo. |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 195 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 196 | config ENV |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 197 | bool "env" |
| 198 | default n |
| 199 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 200 | env is used to set an environment variable and run |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 201 | a command; without options it displays the current |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 202 | environment. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 203 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 204 | config FEATURE_ENV_LONG_OPTIONS |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 205 | bool "Enable long options" |
| 206 | default n |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 207 | depends on ENV && LONG_OPTS |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 208 | help |
| 209 | Support long options for the env applet. |
| 210 | |
Denis Vlasenko | 3952f20 | 2007-08-13 14:10:24 +0000 | [diff] [blame] | 211 | config EXPAND |
| 212 | bool "expand" |
| 213 | default n |
| 214 | help |
| 215 | By default, convert all tabs to spaces. |
| 216 | |
| 217 | config FEATURE_EXPAND_LONG_OPTIONS |
| 218 | bool "Enable long options" |
| 219 | default n |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 220 | depends on EXPAND && LONG_OPTS |
Denis Vlasenko | 3952f20 | 2007-08-13 14:10:24 +0000 | [diff] [blame] | 221 | help |
| 222 | Support long options for the expand applet. |
| 223 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 224 | config EXPR |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 225 | bool "expr" |
| 226 | default n |
| 227 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 228 | expr is used to calculate numbers and print the result |
| 229 | to standard output. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 230 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 231 | config EXPR_MATH_SUPPORT_64 |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 232 | bool "Extend Posix numbers support to 64 bit" |
"Vladimir N. Oleynik" | 8aa9e57 | 2006-01-25 13:56:03 +0000 | [diff] [blame] | 233 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 234 | depends on EXPR |
"Vladimir N. Oleynik" | 8aa9e57 | 2006-01-25 13:56:03 +0000 | [diff] [blame] | 235 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 236 | Enable 64-bit math support in the expr applet. This will make |
"Vladimir N. Oleynik" | 8aa9e57 | 2006-01-25 13:56:03 +0000 | [diff] [blame] | 237 | the applet slightly larger, but will allow computation with very |
| 238 | large numbers. |
| 239 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 240 | config FALSE |
Bernhard Reutner-Fischer | 96002bb | 2006-01-19 14:42:23 +0000 | [diff] [blame] | 241 | bool "false" |
| 242 | default n |
| 243 | help |
| 244 | false returns an exit code of FALSE (1). |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 245 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 246 | config FOLD |
Glenn L McGrath | f01b805 | 2003-04-27 06:02:14 +0000 | [diff] [blame] | 247 | bool "fold" |
| 248 | default n |
| 249 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 250 | Wrap text to fit a specific width. |
Glenn L McGrath | f01b805 | 2003-04-27 06:02:14 +0000 | [diff] [blame] | 251 | |
Denys Vlasenko | 14f6f0a | 2009-06-18 08:20:02 +0200 | [diff] [blame] | 252 | config FSYNC |
| 253 | bool "fsync" |
| 254 | default n |
| 255 | help |
| 256 | fsync is used to flush file-related cached blocks to disk. |
| 257 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 258 | config HEAD |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 259 | bool "head" |
| 260 | default n |
| 261 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 262 | head is used to print the first specified number of lines |
| 263 | from files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 264 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 265 | config FEATURE_FANCY_HEAD |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 266 | bool "Enable head options (-c, -q, and -v)" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 267 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 268 | depends on HEAD |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 269 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 270 | This enables the head options (-c, -q, and -v). |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 271 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 272 | config HOSTID |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 273 | bool "hostid" |
| 274 | default n |
| 275 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 276 | hostid prints the numeric identifier (in hexadecimal) for |
| 277 | the current host. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 278 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 279 | config ID |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 280 | bool "id" |
| 281 | default n |
| 282 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 283 | id displays the current user and group ID names. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 284 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 285 | config INSTALL |
Glenn L McGrath | eebcc1d | 2003-09-24 03:22:57 +0000 | [diff] [blame] | 286 | bool "install" |
| 287 | default n |
| 288 | help |
| 289 | Copy files and set attributes. |
| 290 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 291 | config FEATURE_INSTALL_LONG_OPTIONS |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 292 | bool "Enable long options" |
| 293 | default n |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 294 | depends on INSTALL && LONG_OPTS |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 295 | help |
| 296 | Support long options for the install applet. |
| 297 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 298 | config LENGTH |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 299 | bool "length" |
| 300 | default n |
| 301 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 302 | length is used to print out the length of a specified string. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 303 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 304 | config LN |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 305 | bool "ln" |
| 306 | default n |
| 307 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 308 | ln is used to create hard or soft links between files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 309 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 310 | config LOGNAME |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 311 | bool "logname" |
| 312 | default n |
| 313 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 314 | logname is used to print the current user's login name. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 315 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 316 | config LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 317 | bool "ls" |
| 318 | default n |
| 319 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 320 | ls is used to list the contents of directories. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 321 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 322 | config FEATURE_LS_FILETYPES |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 323 | bool "Enable filetyping options (-p and -F)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 324 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 325 | depends on LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 326 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 327 | Enable the ls options (-p and -F). |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 328 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 329 | config FEATURE_LS_FOLLOWLINKS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 330 | bool "Enable symlinks dereferencing (-L)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 331 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 332 | depends on LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 333 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 334 | Enable the ls option (-L). |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 335 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 336 | config FEATURE_LS_RECURSIVE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 337 | bool "Enable recursion (-R)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 338 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 339 | depends on LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 340 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 341 | Enable the ls option (-R). |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 342 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 343 | config FEATURE_LS_SORTFILES |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 344 | bool "Sort the file names" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 345 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 346 | depends on LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 347 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 348 | Allow ls to sort file names alphabetically. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 349 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 350 | config FEATURE_LS_TIMESTAMPS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 351 | bool "Show file timestamps" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 352 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 353 | depends on LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 354 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 355 | Allow ls to display timestamps for files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 356 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 357 | config FEATURE_LS_USERNAME |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 358 | bool "Show username/groupnames" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 359 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 360 | depends on LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 361 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 362 | Allow ls to display username/groupname for files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 363 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 364 | config FEATURE_LS_COLOR |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 365 | bool "Allow use of color to identify file types" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 366 | default y |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 367 | depends on LS && LONG_OPTS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 368 | help |
Paul Fox | 156dc41 | 2005-08-01 19:33:30 +0000 | [diff] [blame] | 369 | This enables the --color option to ls. |
| 370 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 371 | config FEATURE_LS_COLOR_IS_DEFAULT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 372 | bool "Produce colored ls output by default" |
Bernhard Reutner-Fischer | 96002bb | 2006-01-19 14:42:23 +0000 | [diff] [blame] | 373 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 374 | depends on FEATURE_LS_COLOR |
Bernhard Reutner-Fischer | 96002bb | 2006-01-19 14:42:23 +0000 | [diff] [blame] | 375 | help |
| 376 | Saying yes here will turn coloring on by default, |
| 377 | even if no "--color" option is given to the ls command. |
| 378 | This is not recommended, since the colors are not |
| 379 | configurable, and the output may not be legible on |
| 380 | many output screens. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 381 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 382 | config MD5SUM |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 383 | bool "md5sum" |
| 384 | default n |
| 385 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 386 | md5sum is used to print or check MD5 checksums. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 387 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 388 | config MKDIR |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 389 | bool "mkdir" |
| 390 | default n |
| 391 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 392 | mkdir is used to create directories with the specified names. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 393 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 394 | config FEATURE_MKDIR_LONG_OPTIONS |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 395 | bool "Enable long options" |
| 396 | default n |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 397 | depends on MKDIR && LONG_OPTS |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 398 | help |
| 399 | Support long options for the mkdir applet. |
| 400 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 401 | config MKFIFO |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 402 | bool "mkfifo" |
| 403 | default n |
| 404 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 405 | mkfifo is used to create FIFOs (named pipes). |
| 406 | The `mknod' program can also create FIFOs. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 407 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 408 | config MKNOD |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 409 | bool "mknod" |
| 410 | default n |
| 411 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 412 | mknod is used to create FIFOs or block/character special |
| 413 | files with the specified names. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 414 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 415 | config MV |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 416 | bool "mv" |
| 417 | default n |
| 418 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 419 | mv is used to move or rename files or directories. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 420 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 421 | config FEATURE_MV_LONG_OPTIONS |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 422 | bool "Enable long options" |
| 423 | default n |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 424 | depends on MV && LONG_OPTS |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 425 | help |
| 426 | Support long options for the mv applet. |
| 427 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 428 | config NICE |
Manuel Novoa III | 2c51160 | 2005-02-13 20:14:05 +0000 | [diff] [blame] | 429 | bool "nice" |
| 430 | default n |
| 431 | help |
| 432 | nice runs a program with modified scheduling priority. |
| 433 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 434 | config NOHUP |
Bernhard Reutner-Fischer | 9d7010c | 2005-09-21 18:25:05 +0000 | [diff] [blame] | 435 | bool "nohup" |
| 436 | default n |
| 437 | help |
| 438 | run a command immune to hangups, with output to a non-tty. |
| 439 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 440 | config OD |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 441 | bool "od" |
| 442 | default n |
| 443 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 444 | od is used to dump binary files in octal and other formats. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 445 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 446 | config PRINTENV |
Mike Frysinger | 7f8797c | 2005-09-24 23:15:28 +0000 | [diff] [blame] | 447 | bool "printenv" |
| 448 | default n |
| 449 | help |
| 450 | printenv is used to print all or part of environment. |
| 451 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 452 | config PRINTF |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 453 | bool "printf" |
| 454 | default n |
| 455 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 456 | printf is used to format and print specified strings. |
| 457 | It's similar to `echo' except it has more options. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 458 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 459 | config PWD |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 460 | bool "pwd" |
| 461 | default n |
| 462 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 463 | pwd is used to print the current directory. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 464 | |
Denis Vlasenko | cc5e090 | 2007-06-12 08:12:33 +0000 | [diff] [blame] | 465 | config READLINK |
| 466 | bool "readlink" |
| 467 | default n |
| 468 | help |
| 469 | This program reads a symbolic link and returns the name |
| 470 | of the file it points to |
| 471 | |
| 472 | config FEATURE_READLINK_FOLLOW |
| 473 | bool "Enable canonicalization by following all symlinks (-f)" |
| 474 | default n |
| 475 | depends on READLINK |
| 476 | help |
| 477 | Enable the readlink option (-f). |
| 478 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 479 | config REALPATH |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 480 | bool "realpath" |
| 481 | default n |
| 482 | help |
| 483 | Return the canonicalized absolute pathname. |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 484 | This isn't provided by GNU shellutils, but where else does it belong. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 485 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 486 | config RM |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 487 | bool "rm" |
| 488 | default n |
| 489 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 490 | rm is used to remove files or directories. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 491 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 492 | config RMDIR |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 493 | bool "rmdir" |
| 494 | default n |
| 495 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 496 | rmdir is used to remove empty directories. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 497 | |
Denis Vlasenko | a2f4735 | 2008-02-24 22:45:04 +0000 | [diff] [blame] | 498 | config FEATURE_RMDIR_LONG_OPTIONS |
| 499 | bool "Enable long options" |
| 500 | default n |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 501 | depends on RMDIR && LONG_OPTS |
Denis Vlasenko | a2f4735 | 2008-02-24 22:45:04 +0000 | [diff] [blame] | 502 | help |
| 503 | Support long options for the rmdir applet, including |
| 504 | --ignore-fail-on-non-empty for compatibility with GNU rmdir. |
| 505 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 506 | config SEQ |
Glenn L McGrath | 82364bb | 2004-01-27 09:22:20 +0000 | [diff] [blame] | 507 | bool "seq" |
| 508 | default n |
| 509 | help |
| 510 | print a sequence of numbers |
| 511 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 512 | config SHA1SUM |
Glenn L McGrath | ae0f1e7 | 2003-02-17 08:23:22 +0000 | [diff] [blame] | 513 | bool "sha1sum" |
| 514 | default n |
| 515 | help |
| 516 | Compute and check SHA1 message digest |
| 517 | |
Denis Vlasenko | 56dceb9 | 2008-11-10 13:32:50 +0000 | [diff] [blame] | 518 | config SHA256SUM |
| 519 | bool "sha256sum" |
| 520 | default n |
| 521 | help |
| 522 | Compute and check SHA256 message digest |
| 523 | |
| 524 | config SHA512SUM |
| 525 | bool "sha512sum" |
| 526 | default n |
| 527 | help |
| 528 | Compute and check SHA512 message digest |
| 529 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 530 | config SLEEP |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 531 | bool "sleep" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 532 | default n |
| 533 | help |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 534 | sleep is used to pause for a specified number of seconds. |
| 535 | It comes in 3 versions: |
| 536 | - small: takes one integer parameter |
| 537 | - fancy: takes multiple integer arguments with suffixes: |
| 538 | sleep 1d 2h 3m 15s |
| 539 | - fancy with fractional numbers: |
| 540 | sleep 2.3s 4.5h sleeps for 16202.3 seconds |
| 541 | Last one is "the most compatible" with coreutils sleep, |
| 542 | but it adds around 1k of code. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 543 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 544 | config FEATURE_FANCY_SLEEP |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 545 | bool "Enable multiple arguments and s/m/h/d suffixes" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 546 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 547 | depends on SLEEP |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 548 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 549 | Allow sleep to pause for specified minutes, hours, and days. |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 550 | |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 551 | config FEATURE_FLOAT_SLEEP |
| 552 | bool "Enable fractional arguments" |
| 553 | default n |
| 554 | depends on FEATURE_FANCY_SLEEP |
| 555 | help |
| 556 | Allow for fractional numeric parameters. |
| 557 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 558 | config SORT |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 559 | bool "sort" |
| 560 | default n |
| 561 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 562 | sort is used to sort lines of text in specified files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 563 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 564 | config FEATURE_SORT_BIG |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 565 | bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)" |
Rob Landley | c0dedd0 | 2005-01-24 07:00:02 +0000 | [diff] [blame] | 566 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 567 | depends on SORT |
Rob Landley | c0dedd0 | 2005-01-24 07:00:02 +0000 | [diff] [blame] | 568 | help |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 569 | Without this, sort only supports -r, -u, and an integer version |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 570 | of -n. Selecting this adds sort keys, floating point support, and |
| 571 | more. This adds a little over 3k to a nonstatic build on x86. |
Rob Landley | c0dedd0 | 2005-01-24 07:00:02 +0000 | [diff] [blame] | 572 | |
| 573 | The SuSv3 sort standard is available at: |
| 574 | http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html |
| 575 | |
Bernhard Reutner-Fischer | 10f8f5f | 2007-03-25 21:50:18 +0000 | [diff] [blame] | 576 | config SPLIT |
| 577 | bool "split" |
| 578 | default n |
| 579 | help |
| 580 | split a file into pieces. |
Bernhard Reutner-Fischer | 0a537a0 | 2007-03-28 16:48:40 +0000 | [diff] [blame] | 581 | |
| 582 | config FEATURE_SPLIT_FANCY |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 583 | bool "Fancy extensions" |
Bernhard Reutner-Fischer | 0a537a0 | 2007-03-28 16:48:40 +0000 | [diff] [blame] | 584 | default n |
| 585 | depends on SPLIT |
| 586 | help |
| 587 | Add support for features not required by SUSv3. |
| 588 | Supports additional suffixes 'b' for 512 bytes, |
| 589 | 'g' for 1GiB for the -b option. |
Bernhard Reutner-Fischer | 10f8f5f | 2007-03-25 21:50:18 +0000 | [diff] [blame] | 590 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 591 | config STAT |
Mike Frysinger | 9b5f71e | 2005-04-23 06:26:38 +0000 | [diff] [blame] | 592 | bool "stat" |
| 593 | default n |
| 594 | help |
| 595 | display file or filesystem status. |
| 596 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 597 | config FEATURE_STAT_FORMAT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 598 | bool "Enable custom formats (-c)" |
Mike Frysinger | 9b5f71e | 2005-04-23 06:26:38 +0000 | [diff] [blame] | 599 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 600 | depends on STAT |
Mike Frysinger | 9b5f71e | 2005-04-23 06:26:38 +0000 | [diff] [blame] | 601 | help |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 602 | Without this, stat will not support the '-c format' option where |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 603 | users can pass a custom format string for output. This adds about |
Mike Frysinger | 9b5f71e | 2005-04-23 06:26:38 +0000 | [diff] [blame] | 604 | 7k to a nonstatic build on amd64. |
| 605 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 606 | config STTY |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 607 | bool "stty" |
| 608 | default n |
| 609 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 610 | stty is used to change and print terminal line settings. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 611 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 612 | config SUM |
Mike Frysinger | 4a21170 | 2005-04-21 23:24:46 +0000 | [diff] [blame] | 613 | bool "sum" |
| 614 | default n |
| 615 | help |
| 616 | checksum and count the blocks in a file |
| 617 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 618 | config SYNC |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 619 | bool "sync" |
| 620 | default n |
| 621 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 622 | sync is used to flush filesystem buffers. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 623 | |
Denis Vlasenko | bcd5fc1 | 2008-01-06 06:27:17 +0000 | [diff] [blame] | 624 | config TAC |
| 625 | bool "tac" |
| 626 | default n |
| 627 | help |
| 628 | tac is used to concatenate and print files in reverse. |
| 629 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 630 | config TAIL |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 631 | bool "tail" |
| 632 | default n |
| 633 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 634 | tail is used to print the last specified number of lines |
| 635 | from files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 636 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 637 | config FEATURE_FANCY_TAIL |
Eric Lammerts | 3b5a664 | 2009-07-22 00:31:27 +0200 | [diff] [blame] | 638 | bool "Enable extra tail options (-q, -s, -v, and -F)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 639 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 640 | depends on TAIL |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 641 | help |
Glenn L McGrath | 4ef5a84 | 2003-10-31 00:35:59 +0000 | [diff] [blame] | 642 | The options (-q, -s, and -v) are provided by GNU tail, but |
| 643 | are not specific in the SUSv3 standard. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 644 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 645 | config TEE |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 646 | bool "tee" |
| 647 | default n |
| 648 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 649 | tee is used to read from standard input and write |
| 650 | to standard output and files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 651 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 652 | config FEATURE_TEE_USE_BLOCK_IO |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 653 | bool "Enable block I/O (larger/faster) instead of byte I/O" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 654 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 655 | depends on TEE |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 656 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 657 | Enable this option for a faster tee, at expense of size. |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 658 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 659 | config TEST |
Bernhard Reutner-Fischer | 96002bb | 2006-01-19 14:42:23 +0000 | [diff] [blame] | 660 | bool "test" |
| 661 | default n |
| 662 | help |
| 663 | test is used to check file types and compare values, |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 664 | returning an appropriate exit code. The bash shell |
Paul Fox | 6ab0378 | 2006-06-08 21:37:26 +0000 | [diff] [blame] | 665 | has test built in, ash can build it in optionally. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 666 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 667 | config FEATURE_TEST_64 |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 668 | bool "Extend test to 64 bit" |
Glenn L McGrath | 73db8be | 2004-08-11 02:45:47 +0000 | [diff] [blame] | 669 | default n |
Denys Vlasenko | d30b89c | 2009-06-26 01:55:45 +0200 | [diff] [blame] | 670 | depends on TEST || ASH_BUILTIN_TEST || HUSH |
Glenn L McGrath | 73db8be | 2004-08-11 02:45:47 +0000 | [diff] [blame] | 671 | help |
| 672 | Enable 64-bit support in test. |
| 673 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 674 | config TOUCH |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 675 | bool "touch" |
| 676 | default n |
| 677 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 678 | touch is used to create or change the access and/or |
| 679 | modification timestamp of specified files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 680 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 681 | config TR |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 682 | bool "tr" |
| 683 | default n |
| 684 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 685 | tr is used to squeeze, and/or delete characters from standard |
| 686 | input, writing to standard output. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 687 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 688 | config FEATURE_TR_CLASSES |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 689 | bool "Enable character classes (such as [:upper:])" |
Rob Landley | 45ad0e8 | 2005-10-08 17:48:25 +0000 | [diff] [blame] | 690 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 691 | depends on TR |
Rob Landley | 45ad0e8 | 2005-10-08 17:48:25 +0000 | [diff] [blame] | 692 | help |
| 693 | Enable character classes, enabling commands such as: |
| 694 | tr [:upper:] [:lower:] to convert input into lowercase. |
| 695 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 696 | config FEATURE_TR_EQUIV |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 697 | bool "Enable equivalence classes" |
Rob Landley | 45ad0e8 | 2005-10-08 17:48:25 +0000 | [diff] [blame] | 698 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 699 | depends on TR |
Rob Landley | 45ad0e8 | 2005-10-08 17:48:25 +0000 | [diff] [blame] | 700 | help |
| 701 | Enable equivalence classes, which essentially add the enclosed |
| 702 | character to the current set. For instance, tr [=a=] xyz would |
| 703 | replace all instances of 'a' with 'xyz'. This option is mainly |
| 704 | useful for cases when no other way of expressing a character |
| 705 | is possible. |
| 706 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 707 | config TRUE |
Bernhard Reutner-Fischer | 96002bb | 2006-01-19 14:42:23 +0000 | [diff] [blame] | 708 | bool "true" |
| 709 | default n |
| 710 | help |
| 711 | true returns an exit code of TRUE (0). |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 712 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 713 | config TTY |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 714 | bool "tty" |
| 715 | default n |
| 716 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 717 | tty is used to print the name of the current terminal to |
| 718 | standard output. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 719 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 720 | config UNAME |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 721 | bool "uname" |
| 722 | default n |
| 723 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 724 | uname is used to print system information. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 725 | |
Denis Vlasenko | 3952f20 | 2007-08-13 14:10:24 +0000 | [diff] [blame] | 726 | config UNEXPAND |
| 727 | bool "unexpand" |
| 728 | default n |
| 729 | help |
| 730 | By default, convert only leading sequences of blanks to tabs. |
| 731 | |
| 732 | config FEATURE_UNEXPAND_LONG_OPTIONS |
| 733 | bool "Enable long options" |
| 734 | default n |
Denys Vlasenko | f3b92d3 | 2009-06-19 12:10:38 +0200 | [diff] [blame] | 735 | depends on UNEXPAND && LONG_OPTS |
Denis Vlasenko | 3952f20 | 2007-08-13 14:10:24 +0000 | [diff] [blame] | 736 | help |
| 737 | Support long options for the unexpand applet. |
| 738 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 739 | config UNIQ |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 740 | bool "uniq" |
| 741 | default n |
| 742 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 743 | uniq is used to remove duplicate lines from a sorted file. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 744 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 745 | config USLEEP |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 746 | bool "usleep" |
| 747 | default n |
| 748 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 749 | usleep is used to pause for a specified number of microseconds. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 750 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 751 | config UUDECODE |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 752 | bool "uudecode" |
| 753 | default n |
| 754 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 755 | uudecode is used to decode a uuencoded file. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 756 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 757 | config UUENCODE |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 758 | bool "uuencode" |
| 759 | default n |
| 760 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 761 | uuencode is used to uuencode a file. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 762 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 763 | config WC |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 764 | bool "wc" |
| 765 | default n |
| 766 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 767 | wc is used to print the number of bytes, words, and lines, |
| 768 | in specified files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 769 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 770 | config FEATURE_WC_LARGE |
Denis Vlasenko | 7021016 | 2006-09-29 23:41:59 +0000 | [diff] [blame] | 771 | bool "Support very large files in wc" |
| 772 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 773 | depends on WC |
Denis Vlasenko | 7021016 | 2006-09-29 23:41:59 +0000 | [diff] [blame] | 774 | help |
Bernhard Reutner-Fischer | bb5f8ed | 2009-02-14 12:13:13 +0000 | [diff] [blame] | 775 | Use "unsigned long long" in wc for counter variables. |
Denis Vlasenko | 7021016 | 2006-09-29 23:41:59 +0000 | [diff] [blame] | 776 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 777 | config WHO |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 778 | bool "who" |
| 779 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 780 | select FEATURE_UTMP |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 781 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 782 | who is used to show who is logged on. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 783 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 784 | config WHOAMI |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 785 | bool "whoami" |
| 786 | default n |
| 787 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 788 | whoami is used to print the username of the current |
| 789 | user id (same as id -un). |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 790 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 791 | config YES |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 792 | bool "yes" |
| 793 | default n |
| 794 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 795 | yes is used to repeatedly output a specific string, or |
| 796 | the default string `y'. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 797 | |
| 798 | comment "Common options for cp and mv" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 799 | depends on CP || MV |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 800 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 801 | config FEATURE_PRESERVE_HARDLINKS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 802 | bool "Preserve hard links" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 803 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 804 | depends on CP || MV |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 805 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 806 | Allow cp and mv to preserve hard links. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 807 | |
Rob Landley | 30a6bba | 2006-02-06 02:49:45 +0000 | [diff] [blame] | 808 | comment "Common options for ls, more and telnet" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 809 | depends on LS || MORE || TELNET |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 810 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 811 | config FEATURE_AUTOWIDTH |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 812 | bool "Calculate terminal & column widths" |
Eric Andersen | 727f529 | 2003-07-26 09:33:16 +0000 | [diff] [blame] | 813 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 814 | depends on LS || MORE || TELNET |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 815 | help |
Rob Landley | 30a6bba | 2006-02-06 02:49:45 +0000 | [diff] [blame] | 816 | This option allows utilities such as 'ls', 'more' and 'telnet' |
Denis Vlasenko | 9213a9e | 2006-09-17 16:28:10 +0000 | [diff] [blame] | 817 | to determine the width of the screen, which can allow them to |
Rob Landley | 30a6bba | 2006-02-06 02:49:45 +0000 | [diff] [blame] | 818 | display additional text or avoid wrapping text onto the next line. |
Denis Vlasenko | 9213a9e | 2006-09-17 16:28:10 +0000 | [diff] [blame] | 819 | If you leave this disabled, your utilities will be especially |
Rob Landley | 30a6bba | 2006-02-06 02:49:45 +0000 | [diff] [blame] | 820 | primitive and will be unable to determine the current screen width. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 821 | |
| 822 | comment "Common options for df, du, ls" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 823 | depends on DF || DU || LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 824 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 825 | config FEATURE_HUMAN_READABLE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 826 | bool "Support for human readable output (example 13k, 23M, 235G)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 827 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 828 | depends on DF || DU || LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 829 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 830 | Allow df, du, and ls to have human readable output. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 831 | |
Glenn L McGrath | d2a897a | 2003-11-10 04:33:55 +0000 | [diff] [blame] | 832 | comment "Common options for md5sum, sha1sum" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 833 | depends on MD5SUM || SHA1SUM |
Glenn L McGrath | d2a897a | 2003-11-10 04:33:55 +0000 | [diff] [blame] | 834 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 835 | config FEATURE_MD5_SHA1_SUM_CHECK |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 836 | bool "Enable -c, -s and -w options" |
Glenn L McGrath | d2a897a | 2003-11-10 04:33:55 +0000 | [diff] [blame] | 837 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 838 | depends on MD5SUM || SHA1SUM |
Glenn L McGrath | d2a897a | 2003-11-10 04:33:55 +0000 | [diff] [blame] | 839 | help |
Glenn L McGrath | 5c0d84a | 2003-12-08 20:11:55 +0000 | [diff] [blame] | 840 | Enabling the -c options allows files to be checked |
Glenn L McGrath | d2a897a | 2003-11-10 04:33:55 +0000 | [diff] [blame] | 841 | against pre-calculated hash values. |
| 842 | |
Glenn L McGrath | 5c0d84a | 2003-12-08 20:11:55 +0000 | [diff] [blame] | 843 | -s and -w are useful options when verifying checksums. |
| 844 | |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 845 | endmenu |