blob: b047ce5e29c18b5c7bdaaa544c06e309f5c0cdf2 [file] [log] [blame]
Glenn L McGrath3238ea12003-02-15 10:53:40 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Coreutils"
7
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config BASENAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +00009 bool "basename"
10 default n
11 help
Eric Andersen4762a482003-04-04 14:35:36 +000012 basename is used to strip the directory and suffix from filenames,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000013 leaving just the filename itself. Enable this option if you wish
Eric Andersen4762a482003-04-04 14:35:36 +000014 to enable the 'basename' utility.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000015
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000016config CAL
Glenn L McGrath3238ea12003-02-15 10:53:40 +000017 bool "cal"
18 default n
19 help
Eric Andersen88c916b2003-10-22 09:58:56 +000020 cal is used to display a monthly calender.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000021
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000022config CAT
Glenn L McGrath3238ea12003-02-15 10:53:40 +000023 bool "cat"
24 default n
25 help
Eric Andersen982da3e2003-04-04 15:20:53 +000026 cat is used to concatenate files and print them to the standard
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000027 output. Enable this option if you wish to enable the 'cat' utility.
Rob Landleyeb29d6c2006-06-06 22:59:37 +000028
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000029config CATV
Rob Landley8abbee42006-05-31 19:36:04 +000030 bool "catv"
31 default n
32 help
33 Display nonprinting characters as escape sequences (like some
34 implementations' cat -v option).
Glenn L McGrath3238ea12003-02-15 10:53:40 +000035
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000036config CHGRP
Glenn L McGrath3238ea12003-02-15 10:53:40 +000037 bool "chgrp"
38 default n
39 help
Eric Andersen88c916b2003-10-22 09:58:56 +000040 chgrp is used to change the group ownership of files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000041
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000042config CHMOD
Glenn L McGrath3238ea12003-02-15 10:53:40 +000043 bool "chmod"
44 default n
45 help
Eric Andersene5642112003-07-14 19:37:08 +000046 chmod is used to change the access permission of files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000047
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000048config CHOWN
Glenn L McGrath3238ea12003-02-15 10:53:40 +000049 bool "chown"
50 default n
51 help
Eric Andersen88c916b2003-10-22 09:58:56 +000052 chown is used to change the user and/or group ownership
Eric Andersene5642112003-07-14 19:37:08 +000053 of files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000054
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000055config CHROOT
Glenn L McGrath3238ea12003-02-15 10:53:40 +000056 bool "chroot"
57 default n
58 help
Eric Andersene5642112003-07-14 19:37:08 +000059 chroot is used to change the root directory and run a command.
60 The default command is `/bin/sh'.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000061
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000062config CKSUM
Rob Landley856489b2006-04-18 20:57:28 +000063 bool "cksum"
64 default n
65 help
66 cksum is used to calculate the CRC32 checksum of a file.
67
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000068config COMM
Rob Landley2acfd7b2005-05-11 23:12:49 +000069 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 Vlasenko7d219aa2006-10-05 10:17:08 +000075config CP
Glenn L McGrath3238ea12003-02-15 10:53:40 +000076 bool "cp"
77 default n
78 help
Eric Andersene5642112003-07-14 19:37:08 +000079 cp is used to copy files and directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000080
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000081config CUT
Glenn L McGrath3238ea12003-02-15 10:53:40 +000082 bool "cut"
83 default n
84 help
Eric Andersene5642112003-07-14 19:37:08 +000085 cut is used to print selected parts of lines from
86 each file to stdout.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000087
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000088config DATE
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +000089 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 McGrath3238ea12003-02-15 10:53:40 +000094
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000095config FEATURE_DATE_ISOFMT
Rob Landley2ec922e2006-04-13 23:22:16 +000096 bool "Enable ISO date format output (-I)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +000097 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000098 depends on DATE
Glenn L McGrath3238ea12003-02-15 10:53:40 +000099 help
Eric Andersen65e20a32003-07-05 07:52:35 +0000100 Enable option (-I) to output an ISO-8601 compliant
101 date/time string.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000102
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000103config DD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000104 bool "dd"
105 default n
106 help
Eric Andersene5642112003-07-14 19:37:08 +0000107 dd copies a file (from standard input to standard output,
108 by default) using specific input and output blocksizes,
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000109 while optionally performing conversions on it.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000110
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000111config FEATURE_DD_SIGNAL_HANDLING
Rob Landleyc5598172006-05-02 22:44:04 +0000112 bool "Enable DD signal handling for status reporting"
113 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000114 depends on DD
Rob Landleyc5598172006-05-02 22:44:04 +0000115 help
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000116 sending a SIGUSR1 signal to a running `dd' process makes it
117 print to standard error the number of records read and written
Rob Landleyc5598172006-05-02 22:44:04 +0000118 so far, then to resume copying.
119
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000120 $ dd if=/dev/zero of=/dev/null&
121 $ pid=$! kill -USR1 $pid; sleep 1; kill $pid
Rob Landleyc5598172006-05-02 22:44:04 +0000122 10899206+0 records in 10899206+0 records out
123
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000124config FEATURE_DD_IBS_OBS
Rob Landley2686d3b2006-05-16 16:52:12 +0000125 bool "Enable ibs, obs and conv options"
126 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000127 depends on DD
Rob Landley2686d3b2006-05-16 16:52:12 +0000128 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 Vlasenko7d219aa2006-10-05 10:17:08 +0000132config DF
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000133 bool "df"
134 default n
135 help
Eric Andersene5642112003-07-14 19:37:08 +0000136 df reports the amount of disk space used and available
137 on filesystems.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000138
Denis Vlasenkod66aa3c2008-08-28 22:42:52 +0000139config FEATURE_DF_FANCY
140 bool "Enable -a, -i, -B"
Denis Vlasenkof430cdb2007-11-15 07:02:55 +0000141 default n
142 depends on DF
143 help
Denis Vlasenkod66aa3c2008-08-28 22:42:52 +0000144 This option enables -a, -i and -B.
Denis Vlasenkof430cdb2007-11-15 07:02:55 +0000145
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000146config DIRNAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000147 bool "dirname"
148 default n
149 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000150 dirname is used to strip a non-directory suffix from
Eric Andersene5642112003-07-14 19:37:08 +0000151 a file name.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000152
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000153config DOS2UNIX
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000154 bool "dos2unix/unix2dos"
155 default n
156 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000157 dos2unix is used to convert a text file from DOS format to
Eric Andersene5642112003-07-14 19:37:08 +0000158 UNIX format, and vice versa.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000159
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000160config UNIX2DOS
Eric Andersen7c512432003-06-26 21:53:51 +0000161 bool
162 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000163 depends on DOS2UNIX
Bernhard Reutner-Fischer4f7953c2006-05-05 11:55:53 +0000164 help
165 unix2dos is used to convert a text file from UNIX format to
166 DOS format, and vice versa.
Eric Andersen7c512432003-06-26 21:53:51 +0000167
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000168config DU
Manuel Novoa III cad53642003-03-19 09:13:01 +0000169 bool "du (default blocksize of 512 bytes)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000170 default n
171 help
Eric Andersene5642112003-07-14 19:37:08 +0000172 du is used to report the amount of disk space used
173 for specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000174
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000175config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
Rob Landley2ec922e2006-04-13 23:22:16 +0000176 bool "Use a default blocksize of 1024 bytes (1K)"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000177 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000178 depends on DU
Manuel Novoa III cad53642003-03-19 09:13:01 +0000179 help
Eric Andersene5642112003-07-14 19:37:08 +0000180 Use a blocksize of (1K) instead of the default 512b.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000181
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000182config ECHO
Mike Frysinger7f8797c2005-09-24 23:15:28 +0000183 bool "echo (basic SuSv3 version taking no options)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000184 default n
185 help
Eric Andersene5642112003-07-14 19:37:08 +0000186 echo is used to print a specified string to stdout.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000187
Paul Fox0b621582005-08-09 19:38:05 +0000188# this entry also appears in shell/Config.in, next to the echo builtin
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000189config FEATURE_FANCY_ECHO
Rob Landley2ec922e2006-04-13 23:22:16 +0000190 bool "Enable echo options (-n and -e)"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000191 default y
Denis Vlasenkodf6f95c2009-04-07 20:07:23 +0000192 depends on ECHO || ASH_BUILTIN_ECHO || HUSH
Manuel Novoa III cad53642003-03-19 09:13:01 +0000193 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000194 This adds options (-n and -e) to echo.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000195
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000196config ENV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000197 bool "env"
198 default n
199 help
Eric Andersene5642112003-07-14 19:37:08 +0000200 env is used to set an environment variable and run
Eric Andersen88c916b2003-10-22 09:58:56 +0000201 a command; without options it displays the current
Eric Andersene5642112003-07-14 19:37:08 +0000202 environment.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000203
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000204config FEATURE_ENV_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000205 bool "Enable long options"
206 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000207 depends on ENV && GETOPT_LONG
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000208 help
209 Support long options for the env applet.
210
Denis Vlasenko3952f202007-08-13 14:10:24 +0000211config EXPAND
212 bool "expand"
213 default n
214 help
215 By default, convert all tabs to spaces.
216
217config 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 Vlasenko7d219aa2006-10-05 10:17:08 +0000224config EXPR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000225 bool "expr"
226 default n
227 help
Eric Andersene5642112003-07-14 19:37:08 +0000228 expr is used to calculate numbers and print the result
229 to standard output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000230
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000231config EXPR_MATH_SUPPORT_64
Rob Landley2ec922e2006-04-13 23:22:16 +0000232 bool "Extend Posix numbers support to 64 bit"
"Vladimir N. Oleynik"8aa9e572006-01-25 13:56:03 +0000233 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000234 depends on EXPR
"Vladimir N. Oleynik"8aa9e572006-01-25 13:56:03 +0000235 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000236 Enable 64-bit math support in the expr applet. This will make
"Vladimir N. Oleynik"8aa9e572006-01-25 13:56:03 +0000237 the applet slightly larger, but will allow computation with very
238 large numbers.
239
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000240config FALSE
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000241 bool "false"
242 default n
243 help
244 false returns an exit code of FALSE (1).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000245
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000246config FOLD
Glenn L McGrathf01b8052003-04-27 06:02:14 +0000247 bool "fold"
248 default n
249 help
Eric Andersene5642112003-07-14 19:37:08 +0000250 Wrap text to fit a specific width.
Glenn L McGrathf01b8052003-04-27 06:02:14 +0000251
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000252config HEAD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000253 bool "head"
254 default n
255 help
Eric Andersene5642112003-07-14 19:37:08 +0000256 head is used to print the first specified number of lines
257 from files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000258
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000259config FEATURE_FANCY_HEAD
Rob Landley2ec922e2006-04-13 23:22:16 +0000260 bool "Enable head options (-c, -q, and -v)"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000261 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000262 depends on HEAD
Manuel Novoa III cad53642003-03-19 09:13:01 +0000263 help
Eric Andersene5642112003-07-14 19:37:08 +0000264 This enables the head options (-c, -q, and -v).
Manuel Novoa III cad53642003-03-19 09:13:01 +0000265
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000266config HOSTID
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000267 bool "hostid"
268 default n
269 help
Eric Andersene5642112003-07-14 19:37:08 +0000270 hostid prints the numeric identifier (in hexadecimal) for
271 the current host.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000272
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000273config ID
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000274 bool "id"
275 default n
276 help
Eric Andersene5642112003-07-14 19:37:08 +0000277 id displays the current user and group ID names.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000278
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000279config INSTALL
Glenn L McGratheebcc1d2003-09-24 03:22:57 +0000280 bool "install"
281 default n
282 help
283 Copy files and set attributes.
284
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000285config FEATURE_INSTALL_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000286 bool "Enable long options"
287 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000288 depends on INSTALL && GETOPT_LONG
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000289 help
290 Support long options for the install applet.
291
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000292config LENGTH
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000293 bool "length"
294 default n
295 help
Eric Andersene5642112003-07-14 19:37:08 +0000296 length is used to print out the length of a specified string.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000297
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000298config LN
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000299 bool "ln"
300 default n
301 help
Eric Andersene5642112003-07-14 19:37:08 +0000302 ln is used to create hard or soft links between files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000303
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000304config LOGNAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000305 bool "logname"
306 default n
307 help
Eric Andersene5642112003-07-14 19:37:08 +0000308 logname is used to print the current user's login name.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000309
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000310config LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000311 bool "ls"
312 default n
313 help
Eric Andersene5642112003-07-14 19:37:08 +0000314 ls is used to list the contents of directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000315
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000316config FEATURE_LS_FILETYPES
Rob Landley2ec922e2006-04-13 23:22:16 +0000317 bool "Enable filetyping options (-p and -F)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000318 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000319 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000320 help
Eric Andersene5642112003-07-14 19:37:08 +0000321 Enable the ls options (-p and -F).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000322
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000323config FEATURE_LS_FOLLOWLINKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000324 bool "Enable symlinks dereferencing (-L)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000325 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000326 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000327 help
Eric Andersene5642112003-07-14 19:37:08 +0000328 Enable the ls option (-L).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000329
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000330config FEATURE_LS_RECURSIVE
Rob Landley2ec922e2006-04-13 23:22:16 +0000331 bool "Enable recursion (-R)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000332 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000333 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000334 help
Eric Andersene5642112003-07-14 19:37:08 +0000335 Enable the ls option (-R).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000336
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000337config FEATURE_LS_SORTFILES
Rob Landley2ec922e2006-04-13 23:22:16 +0000338 bool "Sort the file names"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000339 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000340 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000341 help
Eric Andersene5642112003-07-14 19:37:08 +0000342 Allow ls to sort file names alphabetically.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000343
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000344config FEATURE_LS_TIMESTAMPS
Rob Landley2ec922e2006-04-13 23:22:16 +0000345 bool "Show file timestamps"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000346 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000347 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000348 help
Eric Andersene5642112003-07-14 19:37:08 +0000349 Allow ls to display timestamps for files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000350
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000351config FEATURE_LS_USERNAME
Rob Landley2ec922e2006-04-13 23:22:16 +0000352 bool "Show username/groupnames"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000353 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000354 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000355 help
Eric Andersene5642112003-07-14 19:37:08 +0000356 Allow ls to display username/groupname for files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000357
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000358config FEATURE_LS_COLOR
Rob Landley2ec922e2006-04-13 23:22:16 +0000359 bool "Allow use of color to identify file types"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000360 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000361 depends on LS && GETOPT_LONG
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000362 help
Paul Fox156dc412005-08-01 19:33:30 +0000363 This enables the --color option to ls.
364
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000365config FEATURE_LS_COLOR_IS_DEFAULT
Rob Landley2ec922e2006-04-13 23:22:16 +0000366 bool "Produce colored ls output by default"
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000367 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000368 depends on FEATURE_LS_COLOR
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000369 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 McGrath3238ea12003-02-15 10:53:40 +0000375
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000376config MD5SUM
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000377 bool "md5sum"
378 default n
379 help
Eric Andersene5642112003-07-14 19:37:08 +0000380 md5sum is used to print or check MD5 checksums.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000381
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000382config MKDIR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000383 bool "mkdir"
384 default n
385 help
Eric Andersene5642112003-07-14 19:37:08 +0000386 mkdir is used to create directories with the specified names.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000387
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000388config FEATURE_MKDIR_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000389 bool "Enable long options"
390 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000391 depends on MKDIR && GETOPT_LONG
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000392 help
393 Support long options for the mkdir applet.
394
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000395config MKFIFO
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000396 bool "mkfifo"
397 default n
398 help
Eric Andersene5642112003-07-14 19:37:08 +0000399 mkfifo is used to create FIFOs (named pipes).
400 The `mknod' program can also create FIFOs.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000401
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000402config MKNOD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000403 bool "mknod"
404 default n
405 help
Eric Andersene5642112003-07-14 19:37:08 +0000406 mknod is used to create FIFOs or block/character special
407 files with the specified names.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000408
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000409config MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000410 bool "mv"
411 default n
412 help
Eric Andersene5642112003-07-14 19:37:08 +0000413 mv is used to move or rename files or directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000414
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000415config FEATURE_MV_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000416 bool "Enable long options"
417 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000418 depends on MV && GETOPT_LONG
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000419 help
420 Support long options for the mv applet.
421
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000422config NICE
Manuel Novoa III 2c511602005-02-13 20:14:05 +0000423 bool "nice"
424 default n
425 help
426 nice runs a program with modified scheduling priority.
427
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000428config NOHUP
Bernhard Reutner-Fischer9d7010c2005-09-21 18:25:05 +0000429 bool "nohup"
430 default n
431 help
432 run a command immune to hangups, with output to a non-tty.
433
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000434config OD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000435 bool "od"
436 default n
437 help
Eric Andersene5642112003-07-14 19:37:08 +0000438 od is used to dump binary files in octal and other formats.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000439
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000440config PRINTENV
Mike Frysinger7f8797c2005-09-24 23:15:28 +0000441 bool "printenv"
442 default n
443 help
444 printenv is used to print all or part of environment.
445
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000446config PRINTF
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000447 bool "printf"
448 default n
449 help
Eric Andersene5642112003-07-14 19:37:08 +0000450 printf is used to format and print specified strings.
451 It's similar to `echo' except it has more options.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000452
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000453config PWD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000454 bool "pwd"
455 default n
456 help
Eric Andersene5642112003-07-14 19:37:08 +0000457 pwd is used to print the current directory.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000458
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000459config 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
466config 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 Vlasenko7d219aa2006-10-05 10:17:08 +0000473config REALPATH
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000474 bool "realpath"
475 default n
476 help
477 Return the canonicalized absolute pathname.
Eric Andersen88c916b2003-10-22 09:58:56 +0000478 This isn't provided by GNU shellutils, but where else does it belong.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000479
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000480config RM
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000481 bool "rm"
482 default n
483 help
Eric Andersene5642112003-07-14 19:37:08 +0000484 rm is used to remove files or directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000485
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000486config RMDIR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000487 bool "rmdir"
488 default n
489 help
Eric Andersene5642112003-07-14 19:37:08 +0000490 rmdir is used to remove empty directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000491
Denis Vlasenkoa2f47352008-02-24 22:45:04 +0000492config 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 Vlasenko7d219aa2006-10-05 10:17:08 +0000500config SEQ
Glenn L McGrath82364bb2004-01-27 09:22:20 +0000501 bool "seq"
502 default n
503 help
504 print a sequence of numbers
505
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000506config SHA1SUM
Glenn L McGrathae0f1e72003-02-17 08:23:22 +0000507 bool "sha1sum"
508 default n
509 help
510 Compute and check SHA1 message digest
511
Denis Vlasenko56dceb92008-11-10 13:32:50 +0000512config SHA256SUM
513 bool "sha256sum"
514 default n
515 help
516 Compute and check SHA256 message digest
517
518config SHA512SUM
519 bool "sha512sum"
520 default n
521 help
522 Compute and check SHA512 message digest
523
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000524config SLEEP
Denis Vlasenko97faf532008-07-15 22:01:49 +0000525 bool "sleep"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000526 default n
527 help
Denis Vlasenko97faf532008-07-15 22:01:49 +0000528 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 McGrath3238ea12003-02-15 10:53:40 +0000537
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000538config FEATURE_FANCY_SLEEP
Denis Vlasenko97faf532008-07-15 22:01:49 +0000539 bool "Enable multiple arguments and s/m/h/d suffixes"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000540 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000541 depends on SLEEP
Manuel Novoa III cad53642003-03-19 09:13:01 +0000542 help
Eric Andersene5642112003-07-14 19:37:08 +0000543 Allow sleep to pause for specified minutes, hours, and days.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000544
Denis Vlasenko97faf532008-07-15 22:01:49 +0000545config 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 Vlasenko7d219aa2006-10-05 10:17:08 +0000552config SORT
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000553 bool "sort"
554 default n
555 help
Eric Andersene5642112003-07-14 19:37:08 +0000556 sort is used to sort lines of text in specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000557
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000558config FEATURE_SORT_BIG
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000559 bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
Rob Landleyc0dedd02005-01-24 07:00:02 +0000560 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000561 depends on SORT
Rob Landleyc0dedd02005-01-24 07:00:02 +0000562 help
Denis Vlasenko97faf532008-07-15 22:01:49 +0000563 Without this, sort only supports -r, -u, and an integer version
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000564 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 Landleyc0dedd02005-01-24 07:00:02 +0000566
567 The SuSv3 sort standard is available at:
568 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
569
Bernhard Reutner-Fischer10f8f5f2007-03-25 21:50:18 +0000570config SPLIT
571 bool "split"
572 default n
573 help
574 split a file into pieces.
Bernhard Reutner-Fischer0a537a02007-03-28 16:48:40 +0000575
576config FEATURE_SPLIT_FANCY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000577 bool "Fancy extensions"
Bernhard Reutner-Fischer0a537a02007-03-28 16:48:40 +0000578 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-Fischer10f8f5f2007-03-25 21:50:18 +0000584
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000585config STAT
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000586 bool "stat"
587 default n
588 help
589 display file or filesystem status.
590
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000591config FEATURE_STAT_FORMAT
Rob Landley2ec922e2006-04-13 23:22:16 +0000592 bool "Enable custom formats (-c)"
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000593 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000594 depends on STAT
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000595 help
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000596 Without this, stat will not support the '-c format' option where
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000597 users can pass a custom format string for output. This adds about
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000598 7k to a nonstatic build on amd64.
599
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000600config STTY
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000601 bool "stty"
602 default n
603 help
Eric Andersene5642112003-07-14 19:37:08 +0000604 stty is used to change and print terminal line settings.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000605
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000606config SUM
Mike Frysinger4a211702005-04-21 23:24:46 +0000607 bool "sum"
608 default n
609 help
610 checksum and count the blocks in a file
611
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000612config SYNC
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000613 bool "sync"
614 default n
615 help
Eric Andersene5642112003-07-14 19:37:08 +0000616 sync is used to flush filesystem buffers.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000617
Denis Vlasenkobcd5fc12008-01-06 06:27:17 +0000618config TAC
619 bool "tac"
620 default n
621 help
622 tac is used to concatenate and print files in reverse.
623
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000624config TAIL
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000625 bool "tail"
626 default n
627 help
Eric Andersene5642112003-07-14 19:37:08 +0000628 tail is used to print the last specified number of lines
629 from files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000630
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000631config FEATURE_FANCY_TAIL
Rob Landley2ec922e2006-04-13 23:22:16 +0000632 bool "Enable extra tail options (-q, -s, and -v)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000633 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000634 depends on TAIL
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000635 help
Glenn L McGrath4ef5a842003-10-31 00:35:59 +0000636 The options (-q, -s, and -v) are provided by GNU tail, but
637 are not specific in the SUSv3 standard.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000638
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000639config TEE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000640 bool "tee"
641 default n
642 help
Eric Andersene5642112003-07-14 19:37:08 +0000643 tee is used to read from standard input and write
644 to standard output and files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000645
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000646config FEATURE_TEE_USE_BLOCK_IO
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000647 bool "Enable block I/O (larger/faster) instead of byte I/O"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000648 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000649 depends on TEE
Manuel Novoa III cad53642003-03-19 09:13:01 +0000650 help
Eric Andersene5642112003-07-14 19:37:08 +0000651 Enable this option for a faster tee, at expense of size.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000652
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000653config TEST
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000654 bool "test"
655 default n
656 help
657 test is used to check file types and compare values,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000658 returning an appropriate exit code. The bash shell
Paul Fox6ab03782006-06-08 21:37:26 +0000659 has test built in, ash can build it in optionally.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000660
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000661config FEATURE_TEST_64
Rob Landley2ec922e2006-04-13 23:22:16 +0000662 bool "Extend test to 64 bit"
Glenn L McGrath73db8be2004-08-11 02:45:47 +0000663 default n
Denis Vlasenko53f219e2008-09-16 19:35:42 +0000664 depends on TEST || ASH_BUILTIN_TEST
Glenn L McGrath73db8be2004-08-11 02:45:47 +0000665 help
666 Enable 64-bit support in test.
667
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000668config TOUCH
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000669 bool "touch"
670 default n
671 help
Eric Andersene5642112003-07-14 19:37:08 +0000672 touch is used to create or change the access and/or
673 modification timestamp of specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000674
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000675config TR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000676 bool "tr"
677 default n
678 help
Eric Andersene5642112003-07-14 19:37:08 +0000679 tr is used to squeeze, and/or delete characters from standard
680 input, writing to standard output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000681
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000682config FEATURE_TR_CLASSES
Rob Landley2ec922e2006-04-13 23:22:16 +0000683 bool "Enable character classes (such as [:upper:])"
Rob Landley45ad0e82005-10-08 17:48:25 +0000684 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000685 depends on TR
Rob Landley45ad0e82005-10-08 17:48:25 +0000686 help
687 Enable character classes, enabling commands such as:
688 tr [:upper:] [:lower:] to convert input into lowercase.
689
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000690config FEATURE_TR_EQUIV
Rob Landley2ec922e2006-04-13 23:22:16 +0000691 bool "Enable equivalence classes"
Rob Landley45ad0e82005-10-08 17:48:25 +0000692 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000693 depends on TR
Rob Landley45ad0e82005-10-08 17:48:25 +0000694 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 Vlasenko7d219aa2006-10-05 10:17:08 +0000701config TRUE
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000702 bool "true"
703 default n
704 help
705 true returns an exit code of TRUE (0).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000706
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000707config TTY
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000708 bool "tty"
709 default n
710 help
Eric Andersene5642112003-07-14 19:37:08 +0000711 tty is used to print the name of the current terminal to
712 standard output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000713
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000714config UNAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000715 bool "uname"
716 default n
717 help
Eric Andersene5642112003-07-14 19:37:08 +0000718 uname is used to print system information.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000719
Denis Vlasenko3952f202007-08-13 14:10:24 +0000720config UNEXPAND
721 bool "unexpand"
722 default n
723 help
724 By default, convert only leading sequences of blanks to tabs.
725
726config 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 Vlasenko7d219aa2006-10-05 10:17:08 +0000733config UNIQ
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000734 bool "uniq"
735 default n
736 help
Eric Andersene5642112003-07-14 19:37:08 +0000737 uniq is used to remove duplicate lines from a sorted file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000738
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000739config USLEEP
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000740 bool "usleep"
741 default n
742 help
Eric Andersene5642112003-07-14 19:37:08 +0000743 usleep is used to pause for a specified number of microseconds.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000744
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000745config UUDECODE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000746 bool "uudecode"
747 default n
748 help
Eric Andersene5642112003-07-14 19:37:08 +0000749 uudecode is used to decode a uuencoded file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000750
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000751config UUENCODE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000752 bool "uuencode"
753 default n
754 help
Eric Andersene5642112003-07-14 19:37:08 +0000755 uuencode is used to uuencode a file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000756
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000757config WC
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000758 bool "wc"
759 default n
760 help
Eric Andersene5642112003-07-14 19:37:08 +0000761 wc is used to print the number of bytes, words, and lines,
762 in specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000763
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000764config FEATURE_WC_LARGE
Denis Vlasenko70210162006-09-29 23:41:59 +0000765 bool "Support very large files in wc"
766 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000767 depends on WC
Denis Vlasenko70210162006-09-29 23:41:59 +0000768 help
Bernhard Reutner-Fischerbb5f8ed2009-02-14 12:13:13 +0000769 Use "unsigned long long" in wc for counter variables.
Denis Vlasenko70210162006-09-29 23:41:59 +0000770
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000771config WHO
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000772 bool "who"
773 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000774 select FEATURE_UTMP
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000775 help
Eric Andersene5642112003-07-14 19:37:08 +0000776 who is used to show who is logged on.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000777
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000778config WHOAMI
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000779 bool "whoami"
780 default n
781 help
Eric Andersene5642112003-07-14 19:37:08 +0000782 whoami is used to print the username of the current
783 user id (same as id -un).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000784
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000785config YES
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000786 bool "yes"
787 default n
788 help
Eric Andersene5642112003-07-14 19:37:08 +0000789 yes is used to repeatedly output a specific string, or
790 the default string `y'.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000791
792comment "Common options for cp and mv"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000793 depends on CP || MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000794
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000795config FEATURE_PRESERVE_HARDLINKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000796 bool "Preserve hard links"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000797 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000798 depends on CP || MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000799 help
Eric Andersene5642112003-07-14 19:37:08 +0000800 Allow cp and mv to preserve hard links.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000801
Rob Landley30a6bba2006-02-06 02:49:45 +0000802comment "Common options for ls, more and telnet"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000803 depends on LS || MORE || TELNET
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000804
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000805config FEATURE_AUTOWIDTH
Rob Landley2ec922e2006-04-13 23:22:16 +0000806 bool "Calculate terminal & column widths"
Eric Andersen727f5292003-07-26 09:33:16 +0000807 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000808 depends on LS || MORE || TELNET
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000809 help
Rob Landley30a6bba2006-02-06 02:49:45 +0000810 This option allows utilities such as 'ls', 'more' and 'telnet'
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000811 to determine the width of the screen, which can allow them to
Rob Landley30a6bba2006-02-06 02:49:45 +0000812 display additional text or avoid wrapping text onto the next line.
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000813 If you leave this disabled, your utilities will be especially
Rob Landley30a6bba2006-02-06 02:49:45 +0000814 primitive and will be unable to determine the current screen width.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000815
816comment "Common options for df, du, ls"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000817 depends on DF || DU || LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000818
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000819config FEATURE_HUMAN_READABLE
Rob Landley2ec922e2006-04-13 23:22:16 +0000820 bool "Support for human readable output (example 13k, 23M, 235G)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000821 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000822 depends on DF || DU || LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000823 help
Eric Andersene5642112003-07-14 19:37:08 +0000824 Allow df, du, and ls to have human readable output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000825
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000826comment "Common options for md5sum, sha1sum"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000827 depends on MD5SUM || SHA1SUM
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000828
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000829config FEATURE_MD5_SHA1_SUM_CHECK
Rob Landley2ec922e2006-04-13 23:22:16 +0000830 bool "Enable -c, -s and -w options"
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000831 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000832 depends on MD5SUM || SHA1SUM
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000833 help
Glenn L McGrath5c0d84a2003-12-08 20:11:55 +0000834 Enabling the -c options allows files to be checked
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000835 against pre-calculated hash values.
836
Glenn L McGrath5c0d84a2003-12-08 20:11:55 +0000837 -s and -w are useful options when verifying checksums.
838
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000839endmenu