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 |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 207 | depends on ENV && GETOPT_LONG |
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 |
| 220 | depends on EXPAND && GETOPT_LONG |
| 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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 252 | config HEAD |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 253 | bool "head" |
| 254 | default n |
| 255 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 256 | head is used to print the first specified number of lines |
| 257 | from files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 258 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 259 | config FEATURE_FANCY_HEAD |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 260 | bool "Enable head options (-c, -q, and -v)" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 261 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 262 | depends on HEAD |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 263 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 264 | This enables the head options (-c, -q, and -v). |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 265 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 266 | config HOSTID |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 267 | bool "hostid" |
| 268 | default n |
| 269 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 270 | hostid prints the numeric identifier (in hexadecimal) for |
| 271 | the current host. |
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 ID |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 274 | bool "id" |
| 275 | default n |
| 276 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 277 | id displays the current user and group ID names. |
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 INSTALL |
Glenn L McGrath | eebcc1d | 2003-09-24 03:22:57 +0000 | [diff] [blame] | 280 | bool "install" |
| 281 | default n |
| 282 | help |
| 283 | Copy files and set attributes. |
| 284 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 285 | config FEATURE_INSTALL_LONG_OPTIONS |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 286 | bool "Enable long options" |
| 287 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 288 | depends on INSTALL && GETOPT_LONG |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 289 | help |
| 290 | Support long options for the install applet. |
| 291 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 292 | config LENGTH |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 293 | bool "length" |
| 294 | default n |
| 295 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 296 | 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] | 297 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 298 | config LN |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 299 | bool "ln" |
| 300 | default n |
| 301 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 302 | ln is used to create hard or soft links between files. |
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 LOGNAME |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 305 | bool "logname" |
| 306 | default n |
| 307 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 308 | logname is used to print the current user's login name. |
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 LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 311 | bool "ls" |
| 312 | default n |
| 313 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 314 | ls is used to list the contents of directories. |
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 FEATURE_LS_FILETYPES |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 317 | bool "Enable filetyping options (-p and -F)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 318 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 319 | depends on LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 320 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 321 | Enable the ls options (-p and -F). |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 322 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 323 | config FEATURE_LS_FOLLOWLINKS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 324 | bool "Enable symlinks dereferencing (-L)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 325 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 326 | depends on LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 327 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 328 | Enable the ls option (-L). |
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_RECURSIVE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 331 | bool "Enable recursion (-R)" |
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 option (-R). |
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_SORTFILES |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 338 | bool "Sort the file names" |
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 | Allow ls to sort file names alphabetically. |
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_TIMESTAMPS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 345 | bool "Show file timestamps" |
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 | Allow ls to display timestamps for files. |
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_USERNAME |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 352 | bool "Show username/groupnames" |
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 display username/groupname for files. |
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_COLOR |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 359 | bool "Allow use of color to identify file types" |
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 && GETOPT_LONG |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 362 | help |
Paul Fox | 156dc41 | 2005-08-01 19:33:30 +0000 | [diff] [blame] | 363 | This enables the --color option to ls. |
| 364 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 365 | config FEATURE_LS_COLOR_IS_DEFAULT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 366 | bool "Produce colored ls output by default" |
Bernhard Reutner-Fischer | 96002bb | 2006-01-19 14:42:23 +0000 | [diff] [blame] | 367 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 368 | depends on FEATURE_LS_COLOR |
Bernhard Reutner-Fischer | 96002bb | 2006-01-19 14:42:23 +0000 | [diff] [blame] | 369 | help |
| 370 | Saying yes here will turn coloring on by default, |
| 371 | even if no "--color" option is given to the ls command. |
| 372 | This is not recommended, since the colors are not |
| 373 | configurable, and the output may not be legible on |
| 374 | many output screens. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 375 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 376 | config MD5SUM |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 377 | bool "md5sum" |
| 378 | default n |
| 379 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 380 | md5sum is used to print or check MD5 checksums. |
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 MKDIR |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 383 | bool "mkdir" |
| 384 | default n |
| 385 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 386 | mkdir is used to create directories with the specified names. |
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 FEATURE_MKDIR_LONG_OPTIONS |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 389 | bool "Enable long options" |
| 390 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 391 | depends on MKDIR && GETOPT_LONG |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 392 | help |
| 393 | Support long options for the mkdir applet. |
| 394 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 395 | config MKFIFO |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 396 | bool "mkfifo" |
| 397 | default n |
| 398 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 399 | mkfifo is used to create FIFOs (named pipes). |
| 400 | The `mknod' program can also create FIFOs. |
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 MKNOD |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 403 | bool "mknod" |
| 404 | default n |
| 405 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 406 | mknod is used to create FIFOs or block/character special |
| 407 | files with the specified names. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 408 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 409 | config MV |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 410 | bool "mv" |
| 411 | default n |
| 412 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 413 | mv is used to move or rename files or directories. |
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 FEATURE_MV_LONG_OPTIONS |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 416 | bool "Enable long options" |
| 417 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 418 | depends on MV && GETOPT_LONG |
Bernhard Reutner-Fischer | 01d23ad | 2006-05-26 20:19:22 +0000 | [diff] [blame] | 419 | help |
| 420 | Support long options for the mv applet. |
| 421 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 422 | config NICE |
Manuel Novoa III | 2c51160 | 2005-02-13 20:14:05 +0000 | [diff] [blame] | 423 | bool "nice" |
| 424 | default n |
| 425 | help |
| 426 | nice runs a program with modified scheduling priority. |
| 427 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 428 | config NOHUP |
Bernhard Reutner-Fischer | 9d7010c | 2005-09-21 18:25:05 +0000 | [diff] [blame] | 429 | bool "nohup" |
| 430 | default n |
| 431 | help |
| 432 | run a command immune to hangups, with output to a non-tty. |
| 433 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 434 | config OD |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 435 | bool "od" |
| 436 | default n |
| 437 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 438 | 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] | 439 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 440 | config PRINTENV |
Mike Frysinger | 7f8797c | 2005-09-24 23:15:28 +0000 | [diff] [blame] | 441 | bool "printenv" |
| 442 | default n |
| 443 | help |
| 444 | printenv is used to print all or part of environment. |
| 445 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 446 | config PRINTF |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 447 | bool "printf" |
| 448 | default n |
| 449 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 450 | printf is used to format and print specified strings. |
| 451 | It's similar to `echo' except it has more options. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 452 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 453 | config PWD |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 454 | bool "pwd" |
| 455 | default n |
| 456 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 457 | pwd is used to print the current directory. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 458 | |
Denis Vlasenko | cc5e090 | 2007-06-12 08:12:33 +0000 | [diff] [blame] | 459 | config READLINK |
| 460 | bool "readlink" |
| 461 | default n |
| 462 | help |
| 463 | This program reads a symbolic link and returns the name |
| 464 | of the file it points to |
| 465 | |
| 466 | config FEATURE_READLINK_FOLLOW |
| 467 | bool "Enable canonicalization by following all symlinks (-f)" |
| 468 | default n |
| 469 | depends on READLINK |
| 470 | help |
| 471 | Enable the readlink option (-f). |
| 472 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 473 | config REALPATH |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 474 | bool "realpath" |
| 475 | default n |
| 476 | help |
| 477 | Return the canonicalized absolute pathname. |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 478 | 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] | 479 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 480 | config RM |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 481 | bool "rm" |
| 482 | default n |
| 483 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 484 | rm is used to remove files or directories. |
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 RMDIR |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 487 | bool "rmdir" |
| 488 | default n |
| 489 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 490 | rmdir is used to remove empty directories. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 491 | |
Denis Vlasenko | a2f4735 | 2008-02-24 22:45:04 +0000 | [diff] [blame] | 492 | config FEATURE_RMDIR_LONG_OPTIONS |
| 493 | bool "Enable long options" |
| 494 | default n |
| 495 | depends on RMDIR && GETOPT_LONG |
| 496 | help |
| 497 | Support long options for the rmdir applet, including |
| 498 | --ignore-fail-on-non-empty for compatibility with GNU rmdir. |
| 499 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 500 | config SEQ |
Glenn L McGrath | 82364bb | 2004-01-27 09:22:20 +0000 | [diff] [blame] | 501 | bool "seq" |
| 502 | default n |
| 503 | help |
| 504 | print a sequence of numbers |
| 505 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 506 | config SHA1SUM |
Glenn L McGrath | ae0f1e7 | 2003-02-17 08:23:22 +0000 | [diff] [blame] | 507 | bool "sha1sum" |
| 508 | default n |
| 509 | help |
| 510 | Compute and check SHA1 message digest |
| 511 | |
Denis Vlasenko | 56dceb9 | 2008-11-10 13:32:50 +0000 | [diff] [blame] | 512 | config SHA256SUM |
| 513 | bool "sha256sum" |
| 514 | default n |
| 515 | help |
| 516 | Compute and check SHA256 message digest |
| 517 | |
| 518 | config SHA512SUM |
| 519 | bool "sha512sum" |
| 520 | default n |
| 521 | help |
| 522 | Compute and check SHA512 message digest |
| 523 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 524 | config SLEEP |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 525 | bool "sleep" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 526 | default n |
| 527 | help |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 528 | sleep is used to pause for a specified number of seconds. |
| 529 | It comes in 3 versions: |
| 530 | - small: takes one integer parameter |
| 531 | - fancy: takes multiple integer arguments with suffixes: |
| 532 | sleep 1d 2h 3m 15s |
| 533 | - fancy with fractional numbers: |
| 534 | sleep 2.3s 4.5h sleeps for 16202.3 seconds |
| 535 | Last one is "the most compatible" with coreutils sleep, |
| 536 | but it adds around 1k of code. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 537 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 538 | config FEATURE_FANCY_SLEEP |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 539 | bool "Enable multiple arguments and s/m/h/d suffixes" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 540 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 541 | depends on SLEEP |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 542 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 543 | Allow sleep to pause for specified minutes, hours, and days. |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 544 | |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 545 | config FEATURE_FLOAT_SLEEP |
| 546 | bool "Enable fractional arguments" |
| 547 | default n |
| 548 | depends on FEATURE_FANCY_SLEEP |
| 549 | help |
| 550 | Allow for fractional numeric parameters. |
| 551 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 552 | config SORT |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 553 | bool "sort" |
| 554 | default n |
| 555 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 556 | sort is used to sort lines of text in specified files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 557 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 558 | config FEATURE_SORT_BIG |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 559 | bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)" |
Rob Landley | c0dedd0 | 2005-01-24 07:00:02 +0000 | [diff] [blame] | 560 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 561 | depends on SORT |
Rob Landley | c0dedd0 | 2005-01-24 07:00:02 +0000 | [diff] [blame] | 562 | help |
Denis Vlasenko | 97faf53 | 2008-07-15 22:01:49 +0000 | [diff] [blame] | 563 | Without this, sort only supports -r, -u, and an integer version |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 564 | of -n. Selecting this adds sort keys, floating point support, and |
| 565 | 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] | 566 | |
| 567 | The SuSv3 sort standard is available at: |
| 568 | http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html |
| 569 | |
Bernhard Reutner-Fischer | 10f8f5f | 2007-03-25 21:50:18 +0000 | [diff] [blame] | 570 | config SPLIT |
| 571 | bool "split" |
| 572 | default n |
| 573 | help |
| 574 | split a file into pieces. |
Bernhard Reutner-Fischer | 0a537a0 | 2007-03-28 16:48:40 +0000 | [diff] [blame] | 575 | |
| 576 | config FEATURE_SPLIT_FANCY |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 577 | bool "Fancy extensions" |
Bernhard Reutner-Fischer | 0a537a0 | 2007-03-28 16:48:40 +0000 | [diff] [blame] | 578 | default n |
| 579 | depends on SPLIT |
| 580 | help |
| 581 | Add support for features not required by SUSv3. |
| 582 | Supports additional suffixes 'b' for 512 bytes, |
| 583 | 'g' for 1GiB for the -b option. |
Bernhard Reutner-Fischer | 10f8f5f | 2007-03-25 21:50:18 +0000 | [diff] [blame] | 584 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 585 | config STAT |
Mike Frysinger | 9b5f71e | 2005-04-23 06:26:38 +0000 | [diff] [blame] | 586 | bool "stat" |
| 587 | default n |
| 588 | help |
| 589 | display file or filesystem status. |
| 590 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 591 | config FEATURE_STAT_FORMAT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 592 | bool "Enable custom formats (-c)" |
Mike Frysinger | 9b5f71e | 2005-04-23 06:26:38 +0000 | [diff] [blame] | 593 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 594 | depends on STAT |
Mike Frysinger | 9b5f71e | 2005-04-23 06:26:38 +0000 | [diff] [blame] | 595 | help |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 596 | Without this, stat will not support the '-c format' option where |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 597 | users can pass a custom format string for output. This adds about |
Mike Frysinger | 9b5f71e | 2005-04-23 06:26:38 +0000 | [diff] [blame] | 598 | 7k to a nonstatic build on amd64. |
| 599 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 600 | config STTY |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 601 | bool "stty" |
| 602 | default n |
| 603 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 604 | stty is used to change and print terminal line settings. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 605 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 606 | config SUM |
Mike Frysinger | 4a21170 | 2005-04-21 23:24:46 +0000 | [diff] [blame] | 607 | bool "sum" |
| 608 | default n |
| 609 | help |
| 610 | checksum and count the blocks in a file |
| 611 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 612 | config SYNC |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 613 | bool "sync" |
| 614 | default n |
| 615 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 616 | sync is used to flush filesystem buffers. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 617 | |
Denis Vlasenko | bcd5fc1 | 2008-01-06 06:27:17 +0000 | [diff] [blame] | 618 | config TAC |
| 619 | bool "tac" |
| 620 | default n |
| 621 | help |
| 622 | tac is used to concatenate and print files in reverse. |
| 623 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 624 | config TAIL |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 625 | bool "tail" |
| 626 | default n |
| 627 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 628 | tail is used to print the last specified number of lines |
| 629 | from files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 630 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 631 | config FEATURE_FANCY_TAIL |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 632 | bool "Enable extra tail options (-q, -s, and -v)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 633 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 634 | depends on TAIL |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 635 | help |
Glenn L McGrath | 4ef5a84 | 2003-10-31 00:35:59 +0000 | [diff] [blame] | 636 | The options (-q, -s, and -v) are provided by GNU tail, but |
| 637 | are not specific in the SUSv3 standard. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 638 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 639 | config TEE |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 640 | bool "tee" |
| 641 | default n |
| 642 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 643 | tee is used to read from standard input and write |
| 644 | to standard output and files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 645 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 646 | config FEATURE_TEE_USE_BLOCK_IO |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 647 | 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] | 648 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 649 | depends on TEE |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 650 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 651 | Enable this option for a faster tee, at expense of size. |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 652 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 653 | config TEST |
Bernhard Reutner-Fischer | 96002bb | 2006-01-19 14:42:23 +0000 | [diff] [blame] | 654 | bool "test" |
| 655 | default n |
| 656 | help |
| 657 | test is used to check file types and compare values, |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 658 | returning an appropriate exit code. The bash shell |
Paul Fox | 6ab0378 | 2006-06-08 21:37:26 +0000 | [diff] [blame] | 659 | has test built in, ash can build it in optionally. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 660 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 661 | config FEATURE_TEST_64 |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 662 | bool "Extend test to 64 bit" |
Glenn L McGrath | 73db8be | 2004-08-11 02:45:47 +0000 | [diff] [blame] | 663 | default n |
Denis Vlasenko | 53f219e | 2008-09-16 19:35:42 +0000 | [diff] [blame] | 664 | depends on TEST || ASH_BUILTIN_TEST |
Glenn L McGrath | 73db8be | 2004-08-11 02:45:47 +0000 | [diff] [blame] | 665 | help |
| 666 | Enable 64-bit support in test. |
| 667 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 668 | config TOUCH |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 669 | bool "touch" |
| 670 | default n |
| 671 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 672 | touch is used to create or change the access and/or |
| 673 | modification timestamp of specified files. |
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 TR |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 676 | bool "tr" |
| 677 | default n |
| 678 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 679 | tr is used to squeeze, and/or delete characters from standard |
| 680 | input, writing to standard output. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 681 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 682 | config FEATURE_TR_CLASSES |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 683 | bool "Enable character classes (such as [:upper:])" |
Rob Landley | 45ad0e8 | 2005-10-08 17:48:25 +0000 | [diff] [blame] | 684 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 685 | depends on TR |
Rob Landley | 45ad0e8 | 2005-10-08 17:48:25 +0000 | [diff] [blame] | 686 | help |
| 687 | Enable character classes, enabling commands such as: |
| 688 | tr [:upper:] [:lower:] to convert input into lowercase. |
| 689 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 690 | config FEATURE_TR_EQUIV |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 691 | bool "Enable equivalence classes" |
Rob Landley | 45ad0e8 | 2005-10-08 17:48:25 +0000 | [diff] [blame] | 692 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 693 | depends on TR |
Rob Landley | 45ad0e8 | 2005-10-08 17:48:25 +0000 | [diff] [blame] | 694 | help |
| 695 | Enable equivalence classes, which essentially add the enclosed |
| 696 | character to the current set. For instance, tr [=a=] xyz would |
| 697 | replace all instances of 'a' with 'xyz'. This option is mainly |
| 698 | useful for cases when no other way of expressing a character |
| 699 | is possible. |
| 700 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 701 | config TRUE |
Bernhard Reutner-Fischer | 96002bb | 2006-01-19 14:42:23 +0000 | [diff] [blame] | 702 | bool "true" |
| 703 | default n |
| 704 | help |
| 705 | true returns an exit code of TRUE (0). |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 706 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 707 | config TTY |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 708 | bool "tty" |
| 709 | default n |
| 710 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 711 | tty is used to print the name of the current terminal to |
| 712 | standard output. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 713 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 714 | config UNAME |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 715 | bool "uname" |
| 716 | default n |
| 717 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 718 | uname is used to print system information. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 719 | |
Denis Vlasenko | 3952f20 | 2007-08-13 14:10:24 +0000 | [diff] [blame] | 720 | config UNEXPAND |
| 721 | bool "unexpand" |
| 722 | default n |
| 723 | help |
| 724 | By default, convert only leading sequences of blanks to tabs. |
| 725 | |
| 726 | config FEATURE_UNEXPAND_LONG_OPTIONS |
| 727 | bool "Enable long options" |
| 728 | default n |
| 729 | depends on UNEXPAND && GETOPT_LONG |
| 730 | help |
| 731 | Support long options for the unexpand applet. |
| 732 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 733 | config UNIQ |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 734 | bool "uniq" |
| 735 | default n |
| 736 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 737 | uniq is used to remove duplicate lines from a sorted file. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 738 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 739 | config USLEEP |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 740 | bool "usleep" |
| 741 | default n |
| 742 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 743 | usleep is used to pause for a specified number of microseconds. |
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 UUDECODE |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 746 | bool "uudecode" |
| 747 | default n |
| 748 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 749 | uudecode is used to decode a uuencoded file. |
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 UUENCODE |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 752 | bool "uuencode" |
| 753 | default n |
| 754 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 755 | uuencode is used to uuencode a 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 WC |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 758 | bool "wc" |
| 759 | default n |
| 760 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 761 | wc is used to print the number of bytes, words, and lines, |
| 762 | in specified files. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 763 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 764 | config FEATURE_WC_LARGE |
Denis Vlasenko | 7021016 | 2006-09-29 23:41:59 +0000 | [diff] [blame] | 765 | bool "Support very large files in wc" |
| 766 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 767 | depends on WC |
Denis Vlasenko | 7021016 | 2006-09-29 23:41:59 +0000 | [diff] [blame] | 768 | help |
Bernhard Reutner-Fischer | bb5f8ed | 2009-02-14 12:13:13 +0000 | [diff] [blame] | 769 | Use "unsigned long long" in wc for counter variables. |
Denis Vlasenko | 7021016 | 2006-09-29 23:41:59 +0000 | [diff] [blame] | 770 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 771 | config WHO |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 772 | bool "who" |
| 773 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 774 | select FEATURE_UTMP |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 775 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 776 | who is used to show who is logged on. |
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 WHOAMI |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 779 | bool "whoami" |
| 780 | default n |
| 781 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 782 | whoami is used to print the username of the current |
| 783 | user id (same as id -un). |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 784 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 785 | config YES |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 786 | bool "yes" |
| 787 | default n |
| 788 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 789 | yes is used to repeatedly output a specific string, or |
| 790 | the default string `y'. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 791 | |
| 792 | comment "Common options for cp and mv" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 793 | depends on CP || MV |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 794 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 795 | config FEATURE_PRESERVE_HARDLINKS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 796 | bool "Preserve hard links" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 797 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 798 | depends on CP || MV |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 799 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 800 | Allow cp and mv to preserve hard links. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 801 | |
Rob Landley | 30a6bba | 2006-02-06 02:49:45 +0000 | [diff] [blame] | 802 | comment "Common options for ls, more and telnet" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 803 | depends on LS || MORE || TELNET |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 804 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 805 | config FEATURE_AUTOWIDTH |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 806 | bool "Calculate terminal & column widths" |
Eric Andersen | 727f529 | 2003-07-26 09:33:16 +0000 | [diff] [blame] | 807 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 808 | depends on LS || MORE || TELNET |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 809 | help |
Rob Landley | 30a6bba | 2006-02-06 02:49:45 +0000 | [diff] [blame] | 810 | This option allows utilities such as 'ls', 'more' and 'telnet' |
Denis Vlasenko | 9213a9e | 2006-09-17 16:28:10 +0000 | [diff] [blame] | 811 | to determine the width of the screen, which can allow them to |
Rob Landley | 30a6bba | 2006-02-06 02:49:45 +0000 | [diff] [blame] | 812 | display additional text or avoid wrapping text onto the next line. |
Denis Vlasenko | 9213a9e | 2006-09-17 16:28:10 +0000 | [diff] [blame] | 813 | If you leave this disabled, your utilities will be especially |
Rob Landley | 30a6bba | 2006-02-06 02:49:45 +0000 | [diff] [blame] | 814 | primitive and will be unable to determine the current screen width. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 815 | |
| 816 | comment "Common options for df, du, ls" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 817 | depends on DF || DU || LS |
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_HUMAN_READABLE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 820 | bool "Support for human readable output (example 13k, 23M, 235G)" |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 821 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 822 | depends on DF || DU || LS |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 823 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 824 | Allow df, du, and ls to have human readable output. |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 825 | |
Glenn L McGrath | d2a897a | 2003-11-10 04:33:55 +0000 | [diff] [blame] | 826 | comment "Common options for md5sum, sha1sum" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 827 | depends on MD5SUM || SHA1SUM |
Glenn L McGrath | d2a897a | 2003-11-10 04:33:55 +0000 | [diff] [blame] | 828 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 829 | config FEATURE_MD5_SHA1_SUM_CHECK |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 830 | bool "Enable -c, -s and -w options" |
Glenn L McGrath | d2a897a | 2003-11-10 04:33:55 +0000 | [diff] [blame] | 831 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 832 | depends on MD5SUM || SHA1SUM |
Glenn L McGrath | d2a897a | 2003-11-10 04:33:55 +0000 | [diff] [blame] | 833 | help |
Glenn L McGrath | 5c0d84a | 2003-12-08 20:11:55 +0000 | [diff] [blame] | 834 | Enabling the -c options allows files to be checked |
Glenn L McGrath | d2a897a | 2003-11-10 04:33:55 +0000 | [diff] [blame] | 835 | against pre-calculated hash values. |
| 836 | |
Glenn L McGrath | 5c0d84a | 2003-12-08 20:11:55 +0000 | [diff] [blame] | 837 | -s and -w are useful options when verifying checksums. |
| 838 | |
Glenn L McGrath | 3238ea1 | 2003-02-15 10:53:40 +0000 | [diff] [blame] | 839 | endmenu |