blob: fe481ffe1ac4afe280596821429c98e2ef2c7136 [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
Matheus Izvekov31416d52010-01-21 19:30:25 -020055config FEATURE_CHOWN_LONG_OPTIONS
56 bool "Enable long options"
57 default n
58 depends on CHOWN && LONG_OPTS
59 help
60 Enable use of long options
61
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000062config CHROOT
Glenn L McGrath3238ea12003-02-15 10:53:40 +000063 bool "chroot"
64 default n
65 help
Eric Andersene5642112003-07-14 19:37:08 +000066 chroot is used to change the root directory and run a command.
67 The default command is `/bin/sh'.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000068
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000069config CKSUM
Rob Landley856489b2006-04-18 20:57:28 +000070 bool "cksum"
71 default n
72 help
73 cksum is used to calculate the CRC32 checksum of a file.
74
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000075config COMM
Rob Landley2acfd7b2005-05-11 23:12:49 +000076 bool "comm"
77 default n
78 help
79 comm is used to compare two files line by line and return
80 a three-column output.
81
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000082config CP
Glenn L McGrath3238ea12003-02-15 10:53:40 +000083 bool "cp"
84 default n
85 help
Eric Andersene5642112003-07-14 19:37:08 +000086 cp is used to copy files and directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000087
Denys Vlasenko48f11612009-09-26 14:31:04 +020088config FEATURE_CP_LONG_OPTIONS
89 bool "Enable long options for cp"
90 default n
Denys Vlasenko88a37682009-10-02 01:29:25 +020091 depends on CP && LONG_OPTS
Denys Vlasenko48f11612009-09-26 14:31:04 +020092 help
93 Enable long options for cp.
94 Also add support for --parents option.
95
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000096config CUT
Glenn L McGrath3238ea12003-02-15 10:53:40 +000097 bool "cut"
98 default n
99 help
Eric Andersene5642112003-07-14 19:37:08 +0000100 cut is used to print selected parts of lines from
101 each file to stdout.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000102
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000103config DATE
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000104 bool "date"
105 default n
106 help
107 date is used to set the system date or display the
108 current time in the given format.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000109
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000110config FEATURE_DATE_ISOFMT
Rob Landley2ec922e2006-04-13 23:22:16 +0000111 bool "Enable ISO date format output (-I)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000112 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000113 depends on DATE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000114 help
Eric Andersen65e20a32003-07-05 07:52:35 +0000115 Enable option (-I) to output an ISO-8601 compliant
116 date/time string.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000117
Denys Vlasenko5da9f962010-01-23 23:37:52 +0100118config FEATURE_DATE_COMPAT
119 bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
120 default y
121 depends on DATE
122 help
123 System time can be set by 'date -s DATE' and simply 'date DATE',
124 but formats of DATE string are different. 'date DATE' accepts
125 a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
126 unnatural placement of year between minutes and seconds.
127 date -s (and other commands like touch -d) use more sensible
128 formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
129
130 With this option off, 'date DATE' is 'date -s DATE' support
131 the same format. With it on, 'date DATE' additionally supports
132 MMDDhhmm[[YY]YY][.ss] format.
133
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000134config DD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000135 bool "dd"
136 default n
137 help
Eric Andersene5642112003-07-14 19:37:08 +0000138 dd copies a file (from standard input to standard output,
139 by default) using specific input and output blocksizes,
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000140 while optionally performing conversions on it.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000141
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000142config FEATURE_DD_SIGNAL_HANDLING
Rob Landleyc5598172006-05-02 22:44:04 +0000143 bool "Enable DD signal handling for status reporting"
144 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000145 depends on DD
Rob Landleyc5598172006-05-02 22:44:04 +0000146 help
Denys Vlasenko48f11612009-09-26 14:31:04 +0200147 Sending a SIGUSR1 signal to a running `dd' process makes it
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000148 print to standard error the number of records read and written
Rob Landleyc5598172006-05-02 22:44:04 +0000149 so far, then to resume copying.
150
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000151 $ dd if=/dev/zero of=/dev/null&
152 $ pid=$! kill -USR1 $pid; sleep 1; kill $pid
Gabor Heja4e5b07b2009-10-14 00:29:28 +0200153 10899206+0 records in
154 10899206+0 records out
155
156config FEATURE_DD_THIRD_STATUS_LINE
157 bool "Enable the third status line upon signal"
158 default n
159 depends on DD && FEATURE_DD_SIGNAL_HANDLING
160 help
161 Displays a coreutils-like third status line with transferred bytes,
162 elapsed time and speed.
Rob Landleyc5598172006-05-02 22:44:04 +0000163
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000164config FEATURE_DD_IBS_OBS
Rob Landley2686d3b2006-05-16 16:52:12 +0000165 bool "Enable ibs, obs and conv options"
166 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000167 depends on DD
Rob Landley2686d3b2006-05-16 16:52:12 +0000168 help
169 Enables support for writing a certain number of bytes in and out,
170 at a time, and performing conversions on the data stream.
171
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000172config DF
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000173 bool "df"
174 default n
175 help
Eric Andersene5642112003-07-14 19:37:08 +0000176 df reports the amount of disk space used and available
177 on filesystems.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000178
Denis Vlasenkod66aa3c2008-08-28 22:42:52 +0000179config FEATURE_DF_FANCY
180 bool "Enable -a, -i, -B"
Denis Vlasenkof430cdb2007-11-15 07:02:55 +0000181 default n
182 depends on DF
183 help
Denis Vlasenkod66aa3c2008-08-28 22:42:52 +0000184 This option enables -a, -i and -B.
Denis Vlasenkof430cdb2007-11-15 07:02:55 +0000185
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000186config DIRNAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000187 bool "dirname"
188 default n
189 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000190 dirname is used to strip a non-directory suffix from
Eric Andersene5642112003-07-14 19:37:08 +0000191 a file name.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000192
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000193config DOS2UNIX
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000194 bool "dos2unix/unix2dos"
195 default n
196 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000197 dos2unix is used to convert a text file from DOS format to
Eric Andersene5642112003-07-14 19:37:08 +0000198 UNIX format, and vice versa.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000199
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000200config UNIX2DOS
Eric Andersen7c512432003-06-26 21:53:51 +0000201 bool
202 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000203 depends on DOS2UNIX
Bernhard Reutner-Fischer4f7953c2006-05-05 11:55:53 +0000204 help
205 unix2dos is used to convert a text file from UNIX format to
206 DOS format, and vice versa.
Eric Andersen7c512432003-06-26 21:53:51 +0000207
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000208config DU
Manuel Novoa III cad53642003-03-19 09:13:01 +0000209 bool "du (default blocksize of 512 bytes)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000210 default n
211 help
Eric Andersene5642112003-07-14 19:37:08 +0000212 du is used to report the amount of disk space used
213 for specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000214
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000215config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
Rob Landley2ec922e2006-04-13 23:22:16 +0000216 bool "Use a default blocksize of 1024 bytes (1K)"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000217 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000218 depends on DU
Manuel Novoa III cad53642003-03-19 09:13:01 +0000219 help
Eric Andersene5642112003-07-14 19:37:08 +0000220 Use a blocksize of (1K) instead of the default 512b.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000221
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000222config ECHO
Mike Frysinger7f8797c2005-09-24 23:15:28 +0000223 bool "echo (basic SuSv3 version taking no options)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000224 default n
225 help
Eric Andersene5642112003-07-14 19:37:08 +0000226 echo is used to print a specified string to stdout.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000227
Paul Fox0b621582005-08-09 19:38:05 +0000228# this entry also appears in shell/Config.in, next to the echo builtin
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000229config FEATURE_FANCY_ECHO
Rob Landley2ec922e2006-04-13 23:22:16 +0000230 bool "Enable echo options (-n and -e)"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000231 default y
Denis Vlasenkodf6f95c2009-04-07 20:07:23 +0000232 depends on ECHO || ASH_BUILTIN_ECHO || HUSH
Manuel Novoa III cad53642003-03-19 09:13:01 +0000233 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000234 This adds options (-n and -e) to echo.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000235
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000236config ENV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000237 bool "env"
238 default n
239 help
Eric Andersene5642112003-07-14 19:37:08 +0000240 env is used to set an environment variable and run
Eric Andersen88c916b2003-10-22 09:58:56 +0000241 a command; without options it displays the current
Eric Andersene5642112003-07-14 19:37:08 +0000242 environment.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000243
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000244config FEATURE_ENV_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000245 bool "Enable long options"
246 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200247 depends on ENV && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000248 help
249 Support long options for the env applet.
250
Denis Vlasenko3952f202007-08-13 14:10:24 +0000251config EXPAND
252 bool "expand"
253 default n
254 help
255 By default, convert all tabs to spaces.
256
257config FEATURE_EXPAND_LONG_OPTIONS
258 bool "Enable long options"
259 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200260 depends on EXPAND && LONG_OPTS
Denis Vlasenko3952f202007-08-13 14:10:24 +0000261 help
262 Support long options for the expand applet.
263
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000264config EXPR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000265 bool "expr"
266 default n
267 help
Eric Andersene5642112003-07-14 19:37:08 +0000268 expr is used to calculate numbers and print the result
269 to standard output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000270
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000271config EXPR_MATH_SUPPORT_64
Rob Landley2ec922e2006-04-13 23:22:16 +0000272 bool "Extend Posix numbers support to 64 bit"
"Vladimir N. Oleynik"8aa9e572006-01-25 13:56:03 +0000273 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000274 depends on EXPR
"Vladimir N. Oleynik"8aa9e572006-01-25 13:56:03 +0000275 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000276 Enable 64-bit math support in the expr applet. This will make
"Vladimir N. Oleynik"8aa9e572006-01-25 13:56:03 +0000277 the applet slightly larger, but will allow computation with very
278 large numbers.
279
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000280config FALSE
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000281 bool "false"
282 default n
283 help
284 false returns an exit code of FALSE (1).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000285
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000286config FOLD
Glenn L McGrathf01b8052003-04-27 06:02:14 +0000287 bool "fold"
288 default n
289 help
Eric Andersene5642112003-07-14 19:37:08 +0000290 Wrap text to fit a specific width.
Glenn L McGrathf01b8052003-04-27 06:02:14 +0000291
Denys Vlasenko14f6f0a2009-06-18 08:20:02 +0200292config FSYNC
293 bool "fsync"
294 default n
295 help
296 fsync is used to flush file-related cached blocks to disk.
297
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000298config HEAD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000299 bool "head"
300 default n
301 help
Eric Andersene5642112003-07-14 19:37:08 +0000302 head is used to print the first specified number of lines
303 from files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000304
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000305config FEATURE_FANCY_HEAD
Rob Landley2ec922e2006-04-13 23:22:16 +0000306 bool "Enable head options (-c, -q, and -v)"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000307 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000308 depends on HEAD
Manuel Novoa III cad53642003-03-19 09:13:01 +0000309 help
Eric Andersene5642112003-07-14 19:37:08 +0000310 This enables the head options (-c, -q, and -v).
Manuel Novoa III cad53642003-03-19 09:13:01 +0000311
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000312config HOSTID
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000313 bool "hostid"
314 default n
315 help
Eric Andersene5642112003-07-14 19:37:08 +0000316 hostid prints the numeric identifier (in hexadecimal) for
317 the current host.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000318
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000319config ID
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000320 bool "id"
321 default n
322 help
Eric Andersene5642112003-07-14 19:37:08 +0000323 id displays the current user and group ID names.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000324
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000325config INSTALL
Glenn L McGratheebcc1d2003-09-24 03:22:57 +0000326 bool "install"
327 default n
328 help
329 Copy files and set attributes.
330
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000331config FEATURE_INSTALL_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000332 bool "Enable long options"
333 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200334 depends on INSTALL && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000335 help
336 Support long options for the install applet.
337
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000338config LENGTH
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000339 bool "length"
340 default n
341 help
Eric Andersene5642112003-07-14 19:37:08 +0000342 length is used to print out the length of a specified string.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000343
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000344config LN
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000345 bool "ln"
346 default n
347 help
Eric Andersene5642112003-07-14 19:37:08 +0000348 ln is used to create hard or soft links between files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000349
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000350config LOGNAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000351 bool "logname"
352 default n
353 help
Eric Andersene5642112003-07-14 19:37:08 +0000354 logname is used to print the current user's login name.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000355
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000356config LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000357 bool "ls"
358 default n
359 help
Eric Andersene5642112003-07-14 19:37:08 +0000360 ls is used to list the contents of directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000361
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000362config FEATURE_LS_FILETYPES
Rob Landley2ec922e2006-04-13 23:22:16 +0000363 bool "Enable filetyping options (-p and -F)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000364 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000365 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000366 help
Eric Andersene5642112003-07-14 19:37:08 +0000367 Enable the ls options (-p and -F).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000368
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000369config FEATURE_LS_FOLLOWLINKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000370 bool "Enable symlinks dereferencing (-L)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000371 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000372 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000373 help
Eric Andersene5642112003-07-14 19:37:08 +0000374 Enable the ls option (-L).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000375
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000376config FEATURE_LS_RECURSIVE
Rob Landley2ec922e2006-04-13 23:22:16 +0000377 bool "Enable recursion (-R)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000378 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000379 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000380 help
Eric Andersene5642112003-07-14 19:37:08 +0000381 Enable the ls option (-R).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000382
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000383config FEATURE_LS_SORTFILES
Rob Landley2ec922e2006-04-13 23:22:16 +0000384 bool "Sort the file names"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000385 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000386 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000387 help
Eric Andersene5642112003-07-14 19:37:08 +0000388 Allow ls to sort file names alphabetically.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000389
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000390config FEATURE_LS_TIMESTAMPS
Rob Landley2ec922e2006-04-13 23:22:16 +0000391 bool "Show file timestamps"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000392 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000393 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000394 help
Eric Andersene5642112003-07-14 19:37:08 +0000395 Allow ls to display timestamps for files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000396
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000397config FEATURE_LS_USERNAME
Rob Landley2ec922e2006-04-13 23:22:16 +0000398 bool "Show username/groupnames"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000399 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000400 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000401 help
Eric Andersene5642112003-07-14 19:37:08 +0000402 Allow ls to display username/groupname for files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000403
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000404config FEATURE_LS_COLOR
Rob Landley2ec922e2006-04-13 23:22:16 +0000405 bool "Allow use of color to identify file types"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000406 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200407 depends on LS && LONG_OPTS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000408 help
Paul Fox156dc412005-08-01 19:33:30 +0000409 This enables the --color option to ls.
410
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000411config FEATURE_LS_COLOR_IS_DEFAULT
Rob Landley2ec922e2006-04-13 23:22:16 +0000412 bool "Produce colored ls output by default"
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000413 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000414 depends on FEATURE_LS_COLOR
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000415 help
416 Saying yes here will turn coloring on by default,
417 even if no "--color" option is given to the ls command.
418 This is not recommended, since the colors are not
419 configurable, and the output may not be legible on
420 many output screens.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000421
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000422config MD5SUM
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000423 bool "md5sum"
424 default n
425 help
Eric Andersene5642112003-07-14 19:37:08 +0000426 md5sum is used to print or check MD5 checksums.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000427
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000428config MKDIR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000429 bool "mkdir"
430 default n
431 help
Eric Andersene5642112003-07-14 19:37:08 +0000432 mkdir is used to create directories with the specified names.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000433
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000434config FEATURE_MKDIR_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000435 bool "Enable long options"
436 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200437 depends on MKDIR && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000438 help
439 Support long options for the mkdir applet.
440
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000441config MKFIFO
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000442 bool "mkfifo"
443 default n
444 help
Eric Andersene5642112003-07-14 19:37:08 +0000445 mkfifo is used to create FIFOs (named pipes).
446 The `mknod' program can also create FIFOs.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000447
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000448config MKNOD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000449 bool "mknod"
450 default n
451 help
Eric Andersene5642112003-07-14 19:37:08 +0000452 mknod is used to create FIFOs or block/character special
453 files with the specified names.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000454
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000455config MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000456 bool "mv"
457 default n
458 help
Eric Andersene5642112003-07-14 19:37:08 +0000459 mv is used to move or rename files or directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000460
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000461config FEATURE_MV_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000462 bool "Enable long options"
463 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200464 depends on MV && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000465 help
466 Support long options for the mv applet.
467
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000468config NICE
Manuel Novoa III 2c511602005-02-13 20:14:05 +0000469 bool "nice"
470 default n
471 help
472 nice runs a program with modified scheduling priority.
473
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000474config NOHUP
Bernhard Reutner-Fischer9d7010c2005-09-21 18:25:05 +0000475 bool "nohup"
476 default n
477 help
478 run a command immune to hangups, with output to a non-tty.
479
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000480config OD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000481 bool "od"
482 default n
483 help
Eric Andersene5642112003-07-14 19:37:08 +0000484 od is used to dump binary files in octal and other formats.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000485
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000486config PRINTENV
Mike Frysinger7f8797c2005-09-24 23:15:28 +0000487 bool "printenv"
488 default n
489 help
490 printenv is used to print all or part of environment.
491
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000492config PRINTF
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000493 bool "printf"
494 default n
495 help
Eric Andersene5642112003-07-14 19:37:08 +0000496 printf is used to format and print specified strings.
497 It's similar to `echo' except it has more options.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000498
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000499config PWD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000500 bool "pwd"
501 default n
502 help
Eric Andersene5642112003-07-14 19:37:08 +0000503 pwd is used to print the current directory.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000504
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000505config READLINK
506 bool "readlink"
507 default n
508 help
509 This program reads a symbolic link and returns the name
510 of the file it points to
511
512config FEATURE_READLINK_FOLLOW
513 bool "Enable canonicalization by following all symlinks (-f)"
514 default n
515 depends on READLINK
516 help
517 Enable the readlink option (-f).
518
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000519config REALPATH
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000520 bool "realpath"
521 default n
522 help
523 Return the canonicalized absolute pathname.
Eric Andersen88c916b2003-10-22 09:58:56 +0000524 This isn't provided by GNU shellutils, but where else does it belong.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000525
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000526config RM
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000527 bool "rm"
528 default n
529 help
Eric Andersene5642112003-07-14 19:37:08 +0000530 rm is used to remove files or directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000531
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000532config RMDIR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000533 bool "rmdir"
534 default n
535 help
Eric Andersene5642112003-07-14 19:37:08 +0000536 rmdir is used to remove empty directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000537
Denis Vlasenkoa2f47352008-02-24 22:45:04 +0000538config FEATURE_RMDIR_LONG_OPTIONS
539 bool "Enable long options"
540 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200541 depends on RMDIR && LONG_OPTS
Denis Vlasenkoa2f47352008-02-24 22:45:04 +0000542 help
543 Support long options for the rmdir applet, including
544 --ignore-fail-on-non-empty for compatibility with GNU rmdir.
545
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000546config SEQ
Glenn L McGrath82364bb2004-01-27 09:22:20 +0000547 bool "seq"
548 default n
549 help
550 print a sequence of numbers
551
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000552config SHA1SUM
Glenn L McGrathae0f1e72003-02-17 08:23:22 +0000553 bool "sha1sum"
554 default n
555 help
556 Compute and check SHA1 message digest
557
Denis Vlasenko56dceb92008-11-10 13:32:50 +0000558config SHA256SUM
559 bool "sha256sum"
560 default n
561 help
562 Compute and check SHA256 message digest
563
564config SHA512SUM
565 bool "sha512sum"
566 default n
567 help
568 Compute and check SHA512 message digest
569
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000570config SLEEP
Denis Vlasenko97faf532008-07-15 22:01:49 +0000571 bool "sleep"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000572 default n
573 help
Denis Vlasenko97faf532008-07-15 22:01:49 +0000574 sleep is used to pause for a specified number of seconds.
575 It comes in 3 versions:
576 - small: takes one integer parameter
577 - fancy: takes multiple integer arguments with suffixes:
578 sleep 1d 2h 3m 15s
579 - fancy with fractional numbers:
580 sleep 2.3s 4.5h sleeps for 16202.3 seconds
581 Last one is "the most compatible" with coreutils sleep,
582 but it adds around 1k of code.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000583
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000584config FEATURE_FANCY_SLEEP
Denis Vlasenko97faf532008-07-15 22:01:49 +0000585 bool "Enable multiple arguments and s/m/h/d suffixes"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000586 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000587 depends on SLEEP
Manuel Novoa III cad53642003-03-19 09:13:01 +0000588 help
Eric Andersene5642112003-07-14 19:37:08 +0000589 Allow sleep to pause for specified minutes, hours, and days.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000590
Denis Vlasenko97faf532008-07-15 22:01:49 +0000591config FEATURE_FLOAT_SLEEP
592 bool "Enable fractional arguments"
593 default n
594 depends on FEATURE_FANCY_SLEEP
595 help
596 Allow for fractional numeric parameters.
597
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000598config SORT
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000599 bool "sort"
600 default n
601 help
Eric Andersene5642112003-07-14 19:37:08 +0000602 sort is used to sort lines of text in specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000603
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000604config FEATURE_SORT_BIG
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000605 bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
Rob Landleyc0dedd02005-01-24 07:00:02 +0000606 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000607 depends on SORT
Rob Landleyc0dedd02005-01-24 07:00:02 +0000608 help
Denis Vlasenko97faf532008-07-15 22:01:49 +0000609 Without this, sort only supports -r, -u, and an integer version
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000610 of -n. Selecting this adds sort keys, floating point support, and
611 more. This adds a little over 3k to a nonstatic build on x86.
Rob Landleyc0dedd02005-01-24 07:00:02 +0000612
613 The SuSv3 sort standard is available at:
614 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
615
Bernhard Reutner-Fischer10f8f5f2007-03-25 21:50:18 +0000616config SPLIT
617 bool "split"
618 default n
619 help
620 split a file into pieces.
Bernhard Reutner-Fischer0a537a02007-03-28 16:48:40 +0000621
622config FEATURE_SPLIT_FANCY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000623 bool "Fancy extensions"
Bernhard Reutner-Fischer0a537a02007-03-28 16:48:40 +0000624 default n
625 depends on SPLIT
626 help
627 Add support for features not required by SUSv3.
628 Supports additional suffixes 'b' for 512 bytes,
629 'g' for 1GiB for the -b option.
Bernhard Reutner-Fischer10f8f5f2007-03-25 21:50:18 +0000630
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000631config STAT
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000632 bool "stat"
633 default n
634 help
635 display file or filesystem status.
636
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000637config FEATURE_STAT_FORMAT
Rob Landley2ec922e2006-04-13 23:22:16 +0000638 bool "Enable custom formats (-c)"
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000639 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000640 depends on STAT
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000641 help
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000642 Without this, stat will not support the '-c format' option where
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000643 users can pass a custom format string for output. This adds about
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000644 7k to a nonstatic build on amd64.
645
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000646config STTY
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000647 bool "stty"
648 default n
649 help
Eric Andersene5642112003-07-14 19:37:08 +0000650 stty is used to change and print terminal line settings.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000651
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000652config SUM
Mike Frysinger4a211702005-04-21 23:24:46 +0000653 bool "sum"
654 default n
655 help
656 checksum and count the blocks in a file
657
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000658config SYNC
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000659 bool "sync"
660 default n
661 help
Eric Andersene5642112003-07-14 19:37:08 +0000662 sync is used to flush filesystem buffers.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000663
Denis Vlasenkobcd5fc12008-01-06 06:27:17 +0000664config TAC
665 bool "tac"
666 default n
667 help
668 tac is used to concatenate and print files in reverse.
669
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000670config TAIL
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000671 bool "tail"
672 default n
673 help
Eric Andersene5642112003-07-14 19:37:08 +0000674 tail is used to print the last specified number of lines
675 from files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000676
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000677config FEATURE_FANCY_TAIL
Eric Lammerts3b5a6642009-07-22 00:31:27 +0200678 bool "Enable extra tail options (-q, -s, -v, and -F)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000679 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000680 depends on TAIL
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000681 help
Glenn L McGrath4ef5a842003-10-31 00:35:59 +0000682 The options (-q, -s, and -v) are provided by GNU tail, but
683 are not specific in the SUSv3 standard.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000684
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000685config TEE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000686 bool "tee"
687 default n
688 help
Eric Andersene5642112003-07-14 19:37:08 +0000689 tee is used to read from standard input and write
690 to standard output and files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000691
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000692config FEATURE_TEE_USE_BLOCK_IO
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000693 bool "Enable block I/O (larger/faster) instead of byte I/O"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000694 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000695 depends on TEE
Manuel Novoa III cad53642003-03-19 09:13:01 +0000696 help
Eric Andersene5642112003-07-14 19:37:08 +0000697 Enable this option for a faster tee, at expense of size.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000698
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000699config TEST
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000700 bool "test"
701 default n
702 help
703 test is used to check file types and compare values,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000704 returning an appropriate exit code. The bash shell
Paul Fox6ab03782006-06-08 21:37:26 +0000705 has test built in, ash can build it in optionally.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000706
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000707config FEATURE_TEST_64
Rob Landley2ec922e2006-04-13 23:22:16 +0000708 bool "Extend test to 64 bit"
Glenn L McGrath73db8be2004-08-11 02:45:47 +0000709 default n
Denys Vlasenkod30b89c2009-06-26 01:55:45 +0200710 depends on TEST || ASH_BUILTIN_TEST || HUSH
Glenn L McGrath73db8be2004-08-11 02:45:47 +0000711 help
712 Enable 64-bit support in test.
713
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000714config TOUCH
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000715 bool "touch"
716 default n
717 help
Eric Andersene5642112003-07-14 19:37:08 +0000718 touch is used to create or change the access and/or
719 modification timestamp of specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000720
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000721config TR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000722 bool "tr"
723 default n
724 help
Eric Andersene5642112003-07-14 19:37:08 +0000725 tr is used to squeeze, and/or delete characters from standard
726 input, writing to standard output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000727
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000728config FEATURE_TR_CLASSES
Rob Landley2ec922e2006-04-13 23:22:16 +0000729 bool "Enable character classes (such as [:upper:])"
Rob Landley45ad0e82005-10-08 17:48:25 +0000730 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000731 depends on TR
Rob Landley45ad0e82005-10-08 17:48:25 +0000732 help
733 Enable character classes, enabling commands such as:
734 tr [:upper:] [:lower:] to convert input into lowercase.
735
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000736config FEATURE_TR_EQUIV
Rob Landley2ec922e2006-04-13 23:22:16 +0000737 bool "Enable equivalence classes"
Rob Landley45ad0e82005-10-08 17:48:25 +0000738 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000739 depends on TR
Rob Landley45ad0e82005-10-08 17:48:25 +0000740 help
741 Enable equivalence classes, which essentially add the enclosed
742 character to the current set. For instance, tr [=a=] xyz would
743 replace all instances of 'a' with 'xyz'. This option is mainly
744 useful for cases when no other way of expressing a character
745 is possible.
746
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000747config TRUE
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000748 bool "true"
749 default n
750 help
751 true returns an exit code of TRUE (0).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000752
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000753config TTY
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000754 bool "tty"
755 default n
756 help
Eric Andersene5642112003-07-14 19:37:08 +0000757 tty is used to print the name of the current terminal to
758 standard output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000759
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000760config UNAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000761 bool "uname"
762 default n
763 help
Eric Andersene5642112003-07-14 19:37:08 +0000764 uname is used to print system information.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000765
Denis Vlasenko3952f202007-08-13 14:10:24 +0000766config UNEXPAND
767 bool "unexpand"
768 default n
769 help
770 By default, convert only leading sequences of blanks to tabs.
771
772config FEATURE_UNEXPAND_LONG_OPTIONS
773 bool "Enable long options"
774 default n
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200775 depends on UNEXPAND && LONG_OPTS
Denis Vlasenko3952f202007-08-13 14:10:24 +0000776 help
777 Support long options for the unexpand applet.
778
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000779config UNIQ
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000780 bool "uniq"
781 default n
782 help
Eric Andersene5642112003-07-14 19:37:08 +0000783 uniq is used to remove duplicate lines from a sorted file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000784
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000785config USLEEP
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000786 bool "usleep"
787 default n
788 help
Eric Andersene5642112003-07-14 19:37:08 +0000789 usleep is used to pause for a specified number of microseconds.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000790
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000791config UUDECODE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000792 bool "uudecode"
793 default n
794 help
Eric Andersene5642112003-07-14 19:37:08 +0000795 uudecode is used to decode a uuencoded file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000796
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000797config UUENCODE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000798 bool "uuencode"
799 default n
800 help
Eric Andersene5642112003-07-14 19:37:08 +0000801 uuencode is used to uuencode a file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000802
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000803config WC
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000804 bool "wc"
805 default n
806 help
Eric Andersene5642112003-07-14 19:37:08 +0000807 wc is used to print the number of bytes, words, and lines,
808 in specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000809
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000810config FEATURE_WC_LARGE
Denis Vlasenko70210162006-09-29 23:41:59 +0000811 bool "Support very large files in wc"
812 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000813 depends on WC
Denis Vlasenko70210162006-09-29 23:41:59 +0000814 help
Bernhard Reutner-Fischerbb5f8ed2009-02-14 12:13:13 +0000815 Use "unsigned long long" in wc for counter variables.
Denis Vlasenko70210162006-09-29 23:41:59 +0000816
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000817config WHO
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000818 bool "who"
819 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000820 select FEATURE_UTMP
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000821 help
Eric Andersene5642112003-07-14 19:37:08 +0000822 who is used to show who is logged on.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000823
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000824config WHOAMI
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000825 bool "whoami"
826 default n
827 help
Eric Andersene5642112003-07-14 19:37:08 +0000828 whoami is used to print the username of the current
829 user id (same as id -un).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000830
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000831config YES
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000832 bool "yes"
833 default n
834 help
Eric Andersene5642112003-07-14 19:37:08 +0000835 yes is used to repeatedly output a specific string, or
836 the default string `y'.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000837
838comment "Common options for cp and mv"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000839 depends on CP || MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000840
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000841config FEATURE_PRESERVE_HARDLINKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000842 bool "Preserve hard links"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000843 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000844 depends on CP || MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000845 help
Eric Andersene5642112003-07-14 19:37:08 +0000846 Allow cp and mv to preserve hard links.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000847
Rob Landley30a6bba2006-02-06 02:49:45 +0000848comment "Common options for ls, more and telnet"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000849 depends on LS || MORE || TELNET
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000850
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000851config FEATURE_AUTOWIDTH
Rob Landley2ec922e2006-04-13 23:22:16 +0000852 bool "Calculate terminal & column widths"
Eric Andersen727f5292003-07-26 09:33:16 +0000853 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000854 depends on LS || MORE || TELNET
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000855 help
Rob Landley30a6bba2006-02-06 02:49:45 +0000856 This option allows utilities such as 'ls', 'more' and 'telnet'
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000857 to determine the width of the screen, which can allow them to
Rob Landley30a6bba2006-02-06 02:49:45 +0000858 display additional text or avoid wrapping text onto the next line.
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000859 If you leave this disabled, your utilities will be especially
Rob Landley30a6bba2006-02-06 02:49:45 +0000860 primitive and will be unable to determine the current screen width.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000861
862comment "Common options for df, du, ls"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000863 depends on DF || DU || LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000864
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000865config FEATURE_HUMAN_READABLE
Rob Landley2ec922e2006-04-13 23:22:16 +0000866 bool "Support for human readable output (example 13k, 23M, 235G)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000867 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000868 depends on DF || DU || LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000869 help
Eric Andersene5642112003-07-14 19:37:08 +0000870 Allow df, du, and ls to have human readable output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000871
Denys Vlasenkoc041e232010-01-13 18:55:37 +0100872comment "Common options for md5sum, sha1sum, sha256sum, sha512sum"
873 depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000874
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000875config FEATURE_MD5_SHA1_SUM_CHECK
Rob Landley2ec922e2006-04-13 23:22:16 +0000876 bool "Enable -c, -s and -w options"
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000877 default n
Denys Vlasenkoc041e232010-01-13 18:55:37 +0100878 depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000879 help
Glenn L McGrath5c0d84a2003-12-08 20:11:55 +0000880 Enabling the -c options allows files to be checked
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000881 against pre-calculated hash values.
882
Glenn L McGrath5c0d84a2003-12-08 20:11:55 +0000883 -s and -w are useful options when verifying checksums.
884
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000885endmenu