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