blob: cacfb9661a602374d0ecbd2fd0f7eefac6be344b [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
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200207 depends on ENV && LONG_OPTS
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
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200220 depends on EXPAND && LONG_OPTS
Denis Vlasenko3952f202007-08-13 14:10:24 +0000221 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
Denys Vlasenko14f6f0a2009-06-18 08:20:02 +0200252config FSYNC
253 bool "fsync"
254 default n
255 help
256 fsync is used to flush file-related cached blocks to disk.
257
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000258config HEAD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000259 bool "head"
260 default n
261 help
Eric Andersene5642112003-07-14 19:37:08 +0000262 head is used to print the first specified number of lines
263 from files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000264
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000265config FEATURE_FANCY_HEAD
Rob Landley2ec922e2006-04-13 23:22:16 +0000266 bool "Enable head options (-c, -q, and -v)"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000267 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000268 depends on HEAD
Manuel Novoa III cad53642003-03-19 09:13:01 +0000269 help
Eric Andersene5642112003-07-14 19:37:08 +0000270 This enables the head options (-c, -q, and -v).
Manuel Novoa III cad53642003-03-19 09:13:01 +0000271
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000272config HOSTID
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000273 bool "hostid"
274 default n
275 help
Eric Andersene5642112003-07-14 19:37:08 +0000276 hostid prints the numeric identifier (in hexadecimal) for
277 the current host.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000278
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000279config ID
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000280 bool "id"
281 default n
282 help
Eric Andersene5642112003-07-14 19:37:08 +0000283 id displays the current user and group ID names.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000284
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000285config INSTALL
Glenn L McGratheebcc1d2003-09-24 03:22:57 +0000286 bool "install"
287 default n
288 help
289 Copy files and set attributes.
290
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000291config FEATURE_INSTALL_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000292 bool "Enable long options"
293 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200294 depends on INSTALL && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000295 help
296 Support long options for the install applet.
297
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000298config LENGTH
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000299 bool "length"
300 default n
301 help
Eric Andersene5642112003-07-14 19:37:08 +0000302 length is used to print out the length of a specified string.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000303
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000304config LN
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000305 bool "ln"
306 default n
307 help
Eric Andersene5642112003-07-14 19:37:08 +0000308 ln is used to create hard or soft links between files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000309
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000310config LOGNAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000311 bool "logname"
312 default n
313 help
Eric Andersene5642112003-07-14 19:37:08 +0000314 logname is used to print the current user's login name.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000315
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000316config LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000317 bool "ls"
318 default n
319 help
Eric Andersene5642112003-07-14 19:37:08 +0000320 ls is used to list the contents of directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000321
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000322config FEATURE_LS_FILETYPES
Rob Landley2ec922e2006-04-13 23:22:16 +0000323 bool "Enable filetyping options (-p and -F)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000324 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000325 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000326 help
Eric Andersene5642112003-07-14 19:37:08 +0000327 Enable the ls options (-p and -F).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000328
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000329config FEATURE_LS_FOLLOWLINKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000330 bool "Enable symlinks dereferencing (-L)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000331 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000332 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000333 help
Eric Andersene5642112003-07-14 19:37:08 +0000334 Enable the ls option (-L).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000335
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000336config FEATURE_LS_RECURSIVE
Rob Landley2ec922e2006-04-13 23:22:16 +0000337 bool "Enable recursion (-R)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000338 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000339 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000340 help
Eric Andersene5642112003-07-14 19:37:08 +0000341 Enable the ls option (-R).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000342
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000343config FEATURE_LS_SORTFILES
Rob Landley2ec922e2006-04-13 23:22:16 +0000344 bool "Sort the file names"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000345 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000346 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000347 help
Eric Andersene5642112003-07-14 19:37:08 +0000348 Allow ls to sort file names alphabetically.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000349
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000350config FEATURE_LS_TIMESTAMPS
Rob Landley2ec922e2006-04-13 23:22:16 +0000351 bool "Show file timestamps"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000352 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000353 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000354 help
Eric Andersene5642112003-07-14 19:37:08 +0000355 Allow ls to display timestamps for files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000356
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000357config FEATURE_LS_USERNAME
Rob Landley2ec922e2006-04-13 23:22:16 +0000358 bool "Show username/groupnames"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000359 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000360 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000361 help
Eric Andersene5642112003-07-14 19:37:08 +0000362 Allow ls to display username/groupname for files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000363
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000364config FEATURE_LS_COLOR
Rob Landley2ec922e2006-04-13 23:22:16 +0000365 bool "Allow use of color to identify file types"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000366 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200367 depends on LS && LONG_OPTS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000368 help
Paul Fox156dc412005-08-01 19:33:30 +0000369 This enables the --color option to ls.
370
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000371config FEATURE_LS_COLOR_IS_DEFAULT
Rob Landley2ec922e2006-04-13 23:22:16 +0000372 bool "Produce colored ls output by default"
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000373 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000374 depends on FEATURE_LS_COLOR
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000375 help
376 Saying yes here will turn coloring on by default,
377 even if no "--color" option is given to the ls command.
378 This is not recommended, since the colors are not
379 configurable, and the output may not be legible on
380 many output screens.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000381
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000382config MD5SUM
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000383 bool "md5sum"
384 default n
385 help
Eric Andersene5642112003-07-14 19:37:08 +0000386 md5sum is used to print or check MD5 checksums.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000387
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000388config MKDIR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000389 bool "mkdir"
390 default n
391 help
Eric Andersene5642112003-07-14 19:37:08 +0000392 mkdir is used to create directories with the specified names.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000393
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000394config FEATURE_MKDIR_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000395 bool "Enable long options"
396 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200397 depends on MKDIR && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000398 help
399 Support long options for the mkdir applet.
400
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000401config MKFIFO
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000402 bool "mkfifo"
403 default n
404 help
Eric Andersene5642112003-07-14 19:37:08 +0000405 mkfifo is used to create FIFOs (named pipes).
406 The `mknod' program can also create FIFOs.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000407
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000408config MKNOD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000409 bool "mknod"
410 default n
411 help
Eric Andersene5642112003-07-14 19:37:08 +0000412 mknod is used to create FIFOs or block/character special
413 files with the specified names.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000414
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000415config MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000416 bool "mv"
417 default n
418 help
Eric Andersene5642112003-07-14 19:37:08 +0000419 mv is used to move or rename files or directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000420
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000421config FEATURE_MV_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000422 bool "Enable long options"
423 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200424 depends on MV && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000425 help
426 Support long options for the mv applet.
427
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000428config NICE
Manuel Novoa III 2c511602005-02-13 20:14:05 +0000429 bool "nice"
430 default n
431 help
432 nice runs a program with modified scheduling priority.
433
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000434config NOHUP
Bernhard Reutner-Fischer9d7010c2005-09-21 18:25:05 +0000435 bool "nohup"
436 default n
437 help
438 run a command immune to hangups, with output to a non-tty.
439
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000440config OD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000441 bool "od"
442 default n
443 help
Eric Andersene5642112003-07-14 19:37:08 +0000444 od is used to dump binary files in octal and other formats.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000445
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000446config PRINTENV
Mike Frysinger7f8797c2005-09-24 23:15:28 +0000447 bool "printenv"
448 default n
449 help
450 printenv is used to print all or part of environment.
451
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000452config PRINTF
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000453 bool "printf"
454 default n
455 help
Eric Andersene5642112003-07-14 19:37:08 +0000456 printf is used to format and print specified strings.
457 It's similar to `echo' except it has more options.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000458
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000459config PWD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000460 bool "pwd"
461 default n
462 help
Eric Andersene5642112003-07-14 19:37:08 +0000463 pwd is used to print the current directory.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000464
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000465config READLINK
466 bool "readlink"
467 default n
468 help
469 This program reads a symbolic link and returns the name
470 of the file it points to
471
472config FEATURE_READLINK_FOLLOW
473 bool "Enable canonicalization by following all symlinks (-f)"
474 default n
475 depends on READLINK
476 help
477 Enable the readlink option (-f).
478
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000479config REALPATH
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000480 bool "realpath"
481 default n
482 help
483 Return the canonicalized absolute pathname.
Eric Andersen88c916b2003-10-22 09:58:56 +0000484 This isn't provided by GNU shellutils, but where else does it belong.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000485
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000486config RM
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000487 bool "rm"
488 default n
489 help
Eric Andersene5642112003-07-14 19:37:08 +0000490 rm is used to remove files or directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000491
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000492config RMDIR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000493 bool "rmdir"
494 default n
495 help
Eric Andersene5642112003-07-14 19:37:08 +0000496 rmdir is used to remove empty directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000497
Denis Vlasenkoa2f47352008-02-24 22:45:04 +0000498config FEATURE_RMDIR_LONG_OPTIONS
499 bool "Enable long options"
500 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200501 depends on RMDIR && LONG_OPTS
Denis Vlasenkoa2f47352008-02-24 22:45:04 +0000502 help
503 Support long options for the rmdir applet, including
504 --ignore-fail-on-non-empty for compatibility with GNU rmdir.
505
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000506config SEQ
Glenn L McGrath82364bb2004-01-27 09:22:20 +0000507 bool "seq"
508 default n
509 help
510 print a sequence of numbers
511
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000512config SHA1SUM
Glenn L McGrathae0f1e72003-02-17 08:23:22 +0000513 bool "sha1sum"
514 default n
515 help
516 Compute and check SHA1 message digest
517
Denis Vlasenko56dceb92008-11-10 13:32:50 +0000518config SHA256SUM
519 bool "sha256sum"
520 default n
521 help
522 Compute and check SHA256 message digest
523
524config SHA512SUM
525 bool "sha512sum"
526 default n
527 help
528 Compute and check SHA512 message digest
529
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000530config SLEEP
Denis Vlasenko97faf532008-07-15 22:01:49 +0000531 bool "sleep"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000532 default n
533 help
Denis Vlasenko97faf532008-07-15 22:01:49 +0000534 sleep is used to pause for a specified number of seconds.
535 It comes in 3 versions:
536 - small: takes one integer parameter
537 - fancy: takes multiple integer arguments with suffixes:
538 sleep 1d 2h 3m 15s
539 - fancy with fractional numbers:
540 sleep 2.3s 4.5h sleeps for 16202.3 seconds
541 Last one is "the most compatible" with coreutils sleep,
542 but it adds around 1k of code.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000543
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000544config FEATURE_FANCY_SLEEP
Denis Vlasenko97faf532008-07-15 22:01:49 +0000545 bool "Enable multiple arguments and s/m/h/d suffixes"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000546 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000547 depends on SLEEP
Manuel Novoa III cad53642003-03-19 09:13:01 +0000548 help
Eric Andersene5642112003-07-14 19:37:08 +0000549 Allow sleep to pause for specified minutes, hours, and days.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000550
Denis Vlasenko97faf532008-07-15 22:01:49 +0000551config FEATURE_FLOAT_SLEEP
552 bool "Enable fractional arguments"
553 default n
554 depends on FEATURE_FANCY_SLEEP
555 help
556 Allow for fractional numeric parameters.
557
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000558config SORT
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000559 bool "sort"
560 default n
561 help
Eric Andersene5642112003-07-14 19:37:08 +0000562 sort is used to sort lines of text in specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000563
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000564config FEATURE_SORT_BIG
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000565 bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
Rob Landleyc0dedd02005-01-24 07:00:02 +0000566 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000567 depends on SORT
Rob Landleyc0dedd02005-01-24 07:00:02 +0000568 help
Denis Vlasenko97faf532008-07-15 22:01:49 +0000569 Without this, sort only supports -r, -u, and an integer version
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000570 of -n. Selecting this adds sort keys, floating point support, and
571 more. This adds a little over 3k to a nonstatic build on x86.
Rob Landleyc0dedd02005-01-24 07:00:02 +0000572
573 The SuSv3 sort standard is available at:
574 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
575
Bernhard Reutner-Fischer10f8f5f2007-03-25 21:50:18 +0000576config SPLIT
577 bool "split"
578 default n
579 help
580 split a file into pieces.
Bernhard Reutner-Fischer0a537a02007-03-28 16:48:40 +0000581
582config FEATURE_SPLIT_FANCY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000583 bool "Fancy extensions"
Bernhard Reutner-Fischer0a537a02007-03-28 16:48:40 +0000584 default n
585 depends on SPLIT
586 help
587 Add support for features not required by SUSv3.
588 Supports additional suffixes 'b' for 512 bytes,
589 'g' for 1GiB for the -b option.
Bernhard Reutner-Fischer10f8f5f2007-03-25 21:50:18 +0000590
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000591config STAT
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000592 bool "stat"
593 default n
594 help
595 display file or filesystem status.
596
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000597config FEATURE_STAT_FORMAT
Rob Landley2ec922e2006-04-13 23:22:16 +0000598 bool "Enable custom formats (-c)"
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000599 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000600 depends on STAT
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000601 help
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000602 Without this, stat will not support the '-c format' option where
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000603 users can pass a custom format string for output. This adds about
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000604 7k to a nonstatic build on amd64.
605
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000606config STTY
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000607 bool "stty"
608 default n
609 help
Eric Andersene5642112003-07-14 19:37:08 +0000610 stty is used to change and print terminal line settings.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000611
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000612config SUM
Mike Frysinger4a211702005-04-21 23:24:46 +0000613 bool "sum"
614 default n
615 help
616 checksum and count the blocks in a file
617
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000618config SYNC
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000619 bool "sync"
620 default n
621 help
Eric Andersene5642112003-07-14 19:37:08 +0000622 sync is used to flush filesystem buffers.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000623
Denis Vlasenkobcd5fc12008-01-06 06:27:17 +0000624config TAC
625 bool "tac"
626 default n
627 help
628 tac is used to concatenate and print files in reverse.
629
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000630config TAIL
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000631 bool "tail"
632 default n
633 help
Eric Andersene5642112003-07-14 19:37:08 +0000634 tail is used to print the last specified number of lines
635 from files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000636
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000637config FEATURE_FANCY_TAIL
Eric Lammerts3b5a6642009-07-22 00:31:27 +0200638 bool "Enable extra tail options (-q, -s, -v, and -F)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000639 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000640 depends on TAIL
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000641 help
Glenn L McGrath4ef5a842003-10-31 00:35:59 +0000642 The options (-q, -s, and -v) are provided by GNU tail, but
643 are not specific in the SUSv3 standard.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000644
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000645config TEE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000646 bool "tee"
647 default n
648 help
Eric Andersene5642112003-07-14 19:37:08 +0000649 tee is used to read from standard input and write
650 to standard output and files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000651
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000652config FEATURE_TEE_USE_BLOCK_IO
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000653 bool "Enable block I/O (larger/faster) instead of byte I/O"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000654 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000655 depends on TEE
Manuel Novoa III cad53642003-03-19 09:13:01 +0000656 help
Eric Andersene5642112003-07-14 19:37:08 +0000657 Enable this option for a faster tee, at expense of size.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000658
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000659config TEST
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000660 bool "test"
661 default n
662 help
663 test is used to check file types and compare values,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000664 returning an appropriate exit code. The bash shell
Paul Fox6ab03782006-06-08 21:37:26 +0000665 has test built in, ash can build it in optionally.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000666
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000667config FEATURE_TEST_64
Rob Landley2ec922e2006-04-13 23:22:16 +0000668 bool "Extend test to 64 bit"
Glenn L McGrath73db8be2004-08-11 02:45:47 +0000669 default n
Denys Vlasenkod30b89c2009-06-26 01:55:45 +0200670 depends on TEST || ASH_BUILTIN_TEST || HUSH
Glenn L McGrath73db8be2004-08-11 02:45:47 +0000671 help
672 Enable 64-bit support in test.
673
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000674config TOUCH
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000675 bool "touch"
676 default n
677 help
Eric Andersene5642112003-07-14 19:37:08 +0000678 touch is used to create or change the access and/or
679 modification timestamp of specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000680
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000681config TR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000682 bool "tr"
683 default n
684 help
Eric Andersene5642112003-07-14 19:37:08 +0000685 tr is used to squeeze, and/or delete characters from standard
686 input, writing to standard output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000687
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000688config FEATURE_TR_CLASSES
Rob Landley2ec922e2006-04-13 23:22:16 +0000689 bool "Enable character classes (such as [:upper:])"
Rob Landley45ad0e82005-10-08 17:48:25 +0000690 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000691 depends on TR
Rob Landley45ad0e82005-10-08 17:48:25 +0000692 help
693 Enable character classes, enabling commands such as:
694 tr [:upper:] [:lower:] to convert input into lowercase.
695
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000696config FEATURE_TR_EQUIV
Rob Landley2ec922e2006-04-13 23:22:16 +0000697 bool "Enable equivalence classes"
Rob Landley45ad0e82005-10-08 17:48:25 +0000698 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000699 depends on TR
Rob Landley45ad0e82005-10-08 17:48:25 +0000700 help
701 Enable equivalence classes, which essentially add the enclosed
702 character to the current set. For instance, tr [=a=] xyz would
703 replace all instances of 'a' with 'xyz'. This option is mainly
704 useful for cases when no other way of expressing a character
705 is possible.
706
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000707config TRUE
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000708 bool "true"
709 default n
710 help
711 true returns an exit code of TRUE (0).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000712
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000713config TTY
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000714 bool "tty"
715 default n
716 help
Eric Andersene5642112003-07-14 19:37:08 +0000717 tty is used to print the name of the current terminal to
718 standard output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000719
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000720config UNAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000721 bool "uname"
722 default n
723 help
Eric Andersene5642112003-07-14 19:37:08 +0000724 uname is used to print system information.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000725
Denis Vlasenko3952f202007-08-13 14:10:24 +0000726config UNEXPAND
727 bool "unexpand"
728 default n
729 help
730 By default, convert only leading sequences of blanks to tabs.
731
732config FEATURE_UNEXPAND_LONG_OPTIONS
733 bool "Enable long options"
734 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200735 depends on UNEXPAND && LONG_OPTS
Denis Vlasenko3952f202007-08-13 14:10:24 +0000736 help
737 Support long options for the unexpand applet.
738
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000739config UNIQ
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000740 bool "uniq"
741 default n
742 help
Eric Andersene5642112003-07-14 19:37:08 +0000743 uniq is used to remove duplicate lines from a sorted file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000744
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000745config USLEEP
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000746 bool "usleep"
747 default n
748 help
Eric Andersene5642112003-07-14 19:37:08 +0000749 usleep is used to pause for a specified number of microseconds.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000750
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000751config UUDECODE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000752 bool "uudecode"
753 default n
754 help
Eric Andersene5642112003-07-14 19:37:08 +0000755 uudecode is used to decode a uuencoded file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000756
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000757config UUENCODE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000758 bool "uuencode"
759 default n
760 help
Eric Andersene5642112003-07-14 19:37:08 +0000761 uuencode is used to uuencode a file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000762
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000763config WC
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000764 bool "wc"
765 default n
766 help
Eric Andersene5642112003-07-14 19:37:08 +0000767 wc is used to print the number of bytes, words, and lines,
768 in specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000769
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000770config FEATURE_WC_LARGE
Denis Vlasenko70210162006-09-29 23:41:59 +0000771 bool "Support very large files in wc"
772 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000773 depends on WC
Denis Vlasenko70210162006-09-29 23:41:59 +0000774 help
Bernhard Reutner-Fischerbb5f8ed2009-02-14 12:13:13 +0000775 Use "unsigned long long" in wc for counter variables.
Denis Vlasenko70210162006-09-29 23:41:59 +0000776
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000777config WHO
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000778 bool "who"
779 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000780 select FEATURE_UTMP
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000781 help
Eric Andersene5642112003-07-14 19:37:08 +0000782 who is used to show who is logged on.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000783
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000784config WHOAMI
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000785 bool "whoami"
786 default n
787 help
Eric Andersene5642112003-07-14 19:37:08 +0000788 whoami is used to print the username of the current
789 user id (same as id -un).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000790
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000791config YES
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000792 bool "yes"
793 default n
794 help
Eric Andersene5642112003-07-14 19:37:08 +0000795 yes is used to repeatedly output a specific string, or
796 the default string `y'.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000797
798comment "Common options for cp and mv"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000799 depends on CP || MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000800
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000801config FEATURE_PRESERVE_HARDLINKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000802 bool "Preserve hard links"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000803 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000804 depends on CP || MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000805 help
Eric Andersene5642112003-07-14 19:37:08 +0000806 Allow cp and mv to preserve hard links.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000807
Rob Landley30a6bba2006-02-06 02:49:45 +0000808comment "Common options for ls, more and telnet"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000809 depends on LS || MORE || TELNET
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000810
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000811config FEATURE_AUTOWIDTH
Rob Landley2ec922e2006-04-13 23:22:16 +0000812 bool "Calculate terminal & column widths"
Eric Andersen727f5292003-07-26 09:33:16 +0000813 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000814 depends on LS || MORE || TELNET
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000815 help
Rob Landley30a6bba2006-02-06 02:49:45 +0000816 This option allows utilities such as 'ls', 'more' and 'telnet'
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000817 to determine the width of the screen, which can allow them to
Rob Landley30a6bba2006-02-06 02:49:45 +0000818 display additional text or avoid wrapping text onto the next line.
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000819 If you leave this disabled, your utilities will be especially
Rob Landley30a6bba2006-02-06 02:49:45 +0000820 primitive and will be unable to determine the current screen width.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000821
822comment "Common options for df, du, ls"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000823 depends on DF || DU || LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000824
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000825config FEATURE_HUMAN_READABLE
Rob Landley2ec922e2006-04-13 23:22:16 +0000826 bool "Support for human readable output (example 13k, 23M, 235G)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000827 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000828 depends on DF || DU || LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000829 help
Eric Andersene5642112003-07-14 19:37:08 +0000830 Allow df, du, and ls to have human readable output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000831
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000832comment "Common options for md5sum, sha1sum"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000833 depends on MD5SUM || SHA1SUM
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000834
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000835config FEATURE_MD5_SHA1_SUM_CHECK
Rob Landley2ec922e2006-04-13 23:22:16 +0000836 bool "Enable -c, -s and -w options"
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000837 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000838 depends on MD5SUM || SHA1SUM
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000839 help
Glenn L McGrath5c0d84a2003-12-08 20:11:55 +0000840 Enabling the -c options allows files to be checked
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000841 against pre-calculated hash values.
842
Glenn L McGrath5c0d84a2003-12-08 20:11:55 +0000843 -s and -w are useful options when verifying checksums.
844
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000845endmenu