blob: ffbef1a315d177f37ba53ad3e896bbcd76b7698c [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
Denys Vlasenkoe4070cb2010-06-04 19:59:49 +02008INSERT
Glenn L McGrath3238ea12003-02-15 10:53:40 +00009
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000010config CAL
Glenn L McGrath3238ea12003-02-15 10:53:40 +000011 bool "cal"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020012 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +000013 help
Maninder Singh97c64912015-05-25 13:46:36 +020014 cal is used to display a monthly calendar.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000015
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000016config CATV
Rob Landley8abbee42006-05-31 19:36:04 +000017 bool "catv"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020018 default y
Rob Landley8abbee42006-05-31 19:36:04 +000019 help
20 Display nonprinting characters as escape sequences (like some
21 implementations' cat -v option).
Glenn L McGrath3238ea12003-02-15 10:53:40 +000022
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000023config CHGRP
Glenn L McGrath3238ea12003-02-15 10:53:40 +000024 bool "chgrp"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020025 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +000026 help
Eric Andersen88c916b2003-10-22 09:58:56 +000027 chgrp is used to change the group ownership of files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000028
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000029config CHMOD
Glenn L McGrath3238ea12003-02-15 10:53:40 +000030 bool "chmod"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020031 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +000032 help
Eric Andersene5642112003-07-14 19:37:08 +000033 chmod is used to change the access permission of files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000034
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000035config CHOWN
Glenn L McGrath3238ea12003-02-15 10:53:40 +000036 bool "chown"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020037 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +000038 help
Eric Andersen88c916b2003-10-22 09:58:56 +000039 chown is used to change the user and/or group ownership
Eric Andersene5642112003-07-14 19:37:08 +000040 of files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000041
Matheus Izvekov31416d52010-01-21 19:30:25 -020042config FEATURE_CHOWN_LONG_OPTIONS
43 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020044 default y
Matheus Izvekov31416d52010-01-21 19:30:25 -020045 depends on CHOWN && LONG_OPTS
46 help
47 Enable use of long options
48
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000049config CHROOT
Glenn L McGrath3238ea12003-02-15 10:53:40 +000050 bool "chroot"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020051 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +000052 help
Eric Andersene5642112003-07-14 19:37:08 +000053 chroot is used to change the root directory and run a command.
54 The default command is `/bin/sh'.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000055
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000056config CKSUM
Rob Landley856489b2006-04-18 20:57:28 +000057 bool "cksum"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020058 default y
Rob Landley856489b2006-04-18 20:57:28 +000059 help
60 cksum is used to calculate the CRC32 checksum of a file.
61
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000062config COMM
Rob Landley2acfd7b2005-05-11 23:12:49 +000063 bool "comm"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020064 default y
Rob Landley2acfd7b2005-05-11 23:12:49 +000065 help
66 comm is used to compare two files line by line and return
67 a three-column output.
68
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000069config CP
Glenn L McGrath3238ea12003-02-15 10:53:40 +000070 bool "cp"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020071 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +000072 help
Eric Andersene5642112003-07-14 19:37:08 +000073 cp is used to copy files and directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000074
Denys Vlasenko48f11612009-09-26 14:31:04 +020075config FEATURE_CP_LONG_OPTIONS
76 bool "Enable long options for cp"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020077 default y
Denys Vlasenko88a37682009-10-02 01:29:25 +020078 depends on CP && LONG_OPTS
Denys Vlasenko48f11612009-09-26 14:31:04 +020079 help
80 Enable long options for cp.
81 Also add support for --parents option.
82
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000083config CUT
Glenn L McGrath3238ea12003-02-15 10:53:40 +000084 bool "cut"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020085 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +000086 help
Eric Andersene5642112003-07-14 19:37:08 +000087 cut is used to print selected parts of lines from
88 each file to stdout.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000089
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000090config DF
Glenn L McGrath3238ea12003-02-15 10:53:40 +000091 bool "df"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020092 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +000093 help
Eric Andersene5642112003-07-14 19:37:08 +000094 df reports the amount of disk space used and available
95 on filesystems.
Glenn L McGrath3238ea12003-02-15 10:53:40 +000096
Denis Vlasenkod66aa3c2008-08-28 22:42:52 +000097config FEATURE_DF_FANCY
98 bool "Enable -a, -i, -B"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020099 default y
Denis Vlasenkof430cdb2007-11-15 07:02:55 +0000100 depends on DF
101 help
Denis Vlasenkod66aa3c2008-08-28 22:42:52 +0000102 This option enables -a, -i and -B.
Denis Vlasenkof430cdb2007-11-15 07:02:55 +0000103
Bernhard Reutner-Fischer1359e0d2010-02-26 18:21:42 +0100104 -a Show all filesystems
105 -i Inodes
106 -B <SIZE> Blocksize
107
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000108config DIRNAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000109 bool "dirname"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200110 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000111 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000112 dirname is used to strip a non-directory suffix from
Eric Andersene5642112003-07-14 19:37:08 +0000113 a file name.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000114
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000115config DOS2UNIX
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000116 bool "dos2unix/unix2dos"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200117 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000118 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000119 dos2unix is used to convert a text file from DOS format to
Eric Andersene5642112003-07-14 19:37:08 +0000120 UNIX format, and vice versa.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000121
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000122config UNIX2DOS
Eric Andersen7c512432003-06-26 21:53:51 +0000123 bool
124 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000125 depends on DOS2UNIX
Bernhard Reutner-Fischer4f7953c2006-05-05 11:55:53 +0000126 help
127 unix2dos is used to convert a text file from UNIX format to
128 DOS format, and vice versa.
Eric Andersen7c512432003-06-26 21:53:51 +0000129
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000130config DU
Manuel Novoa III cad53642003-03-19 09:13:01 +0000131 bool "du (default blocksize of 512 bytes)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200132 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000133 help
Eric Andersene5642112003-07-14 19:37:08 +0000134 du is used to report the amount of disk space used
135 for specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000136
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000137config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
Rob Landley2ec922e2006-04-13 23:22:16 +0000138 bool "Use a default blocksize of 1024 bytes (1K)"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000139 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000140 depends on DU
Manuel Novoa III cad53642003-03-19 09:13:01 +0000141 help
Eric Andersene5642112003-07-14 19:37:08 +0000142 Use a blocksize of (1K) instead of the default 512b.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000143
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000144config ECHO
Mike Frysinger7f8797c2005-09-24 23:15:28 +0000145 bool "echo (basic SuSv3 version taking no options)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200146 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000147 help
Eric Andersene5642112003-07-14 19:37:08 +0000148 echo is used to print a specified string to stdout.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000149
Paul Fox0b621582005-08-09 19:38:05 +0000150# this entry also appears in shell/Config.in, next to the echo builtin
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000151config FEATURE_FANCY_ECHO
Rob Landley2ec922e2006-04-13 23:22:16 +0000152 bool "Enable echo options (-n and -e)"
Manuel Novoa III cad53642003-03-19 09:13:01 +0000153 default y
Denis Vlasenkodf6f95c2009-04-07 20:07:23 +0000154 depends on ECHO || ASH_BUILTIN_ECHO || HUSH
Manuel Novoa III cad53642003-03-19 09:13:01 +0000155 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000156 This adds options (-n and -e) to echo.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000157
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000158config ENV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000159 bool "env"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200160 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000161 help
Eric Andersene5642112003-07-14 19:37:08 +0000162 env is used to set an environment variable and run
Eric Andersen88c916b2003-10-22 09:58:56 +0000163 a command; without options it displays the current
Eric Andersene5642112003-07-14 19:37:08 +0000164 environment.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000165
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000166config FEATURE_ENV_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000167 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200168 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200169 depends on ENV && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000170 help
171 Support long options for the env applet.
172
Denis Vlasenko3952f202007-08-13 14:10:24 +0000173config EXPAND
174 bool "expand"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200175 default y
Denis Vlasenko3952f202007-08-13 14:10:24 +0000176 help
177 By default, convert all tabs to spaces.
178
179config FEATURE_EXPAND_LONG_OPTIONS
180 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200181 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200182 depends on EXPAND && LONG_OPTS
Denis Vlasenko3952f202007-08-13 14:10:24 +0000183 help
184 Support long options for the expand applet.
185
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000186config EXPR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000187 bool "expr"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200188 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000189 help
Eric Andersene5642112003-07-14 19:37:08 +0000190 expr is used to calculate numbers and print the result
191 to standard output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000192
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000193config EXPR_MATH_SUPPORT_64
Rob Landley2ec922e2006-04-13 23:22:16 +0000194 bool "Extend Posix numbers support to 64 bit"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200195 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000196 depends on EXPR
"Vladimir N. Oleynik"8aa9e572006-01-25 13:56:03 +0000197 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000198 Enable 64-bit math support in the expr applet. This will make
"Vladimir N. Oleynik"8aa9e572006-01-25 13:56:03 +0000199 the applet slightly larger, but will allow computation with very
200 large numbers.
201
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000202config FALSE
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000203 bool "false"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200204 default y
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000205 help
206 false returns an exit code of FALSE (1).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000207
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000208config FOLD
Glenn L McGrathf01b8052003-04-27 06:02:14 +0000209 bool "fold"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200210 default y
Glenn L McGrathf01b8052003-04-27 06:02:14 +0000211 help
Eric Andersene5642112003-07-14 19:37:08 +0000212 Wrap text to fit a specific width.
Glenn L McGrathf01b8052003-04-27 06:02:14 +0000213
Denys Vlasenko14f6f0a2009-06-18 08:20:02 +0200214config FSYNC
215 bool "fsync"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200216 default y
Denys Vlasenko14f6f0a2009-06-18 08:20:02 +0200217 help
218 fsync is used to flush file-related cached blocks to disk.
219
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000220config HEAD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000221 bool "head"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200222 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000223 help
Eric Andersene5642112003-07-14 19:37:08 +0000224 head is used to print the first specified number of lines
225 from files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000226
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000227config FEATURE_FANCY_HEAD
Rob Landley2ec922e2006-04-13 23:22:16 +0000228 bool "Enable head options (-c, -q, and -v)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200229 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000230 depends on HEAD
Manuel Novoa III cad53642003-03-19 09:13:01 +0000231 help
Eric Andersene5642112003-07-14 19:37:08 +0000232 This enables the head options (-c, -q, and -v).
Manuel Novoa III cad53642003-03-19 09:13:01 +0000233
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000234config INSTALL
Glenn L McGratheebcc1d2003-09-24 03:22:57 +0000235 bool "install"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200236 default y
Glenn L McGratheebcc1d2003-09-24 03:22:57 +0000237 help
238 Copy files and set attributes.
239
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000240config FEATURE_INSTALL_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000241 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200242 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200243 depends on INSTALL && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000244 help
245 Support long options for the install applet.
246
Denys Vlasenkoea023ea2011-01-26 01:21:20 +0100247####config LENGTH
248#### bool "length"
249#### default y
250#### help
251#### length is used to print out the length of a specified string.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000252
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000253config LN
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000254 bool "ln"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200255 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000256 help
Eric Andersene5642112003-07-14 19:37:08 +0000257 ln is used to create hard or soft links between files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000258
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000259config LOGNAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000260 bool "logname"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200261 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000262 help
Eric Andersene5642112003-07-14 19:37:08 +0000263 logname is used to print the current user's login name.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000264
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000265config LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000266 bool "ls"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200267 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000268 help
Eric Andersene5642112003-07-14 19:37:08 +0000269 ls is used to list the contents of directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000270
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000271config FEATURE_LS_FILETYPES
Rob Landley2ec922e2006-04-13 23:22:16 +0000272 bool "Enable filetyping options (-p and -F)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000273 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000274 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000275 help
Eric Andersene5642112003-07-14 19:37:08 +0000276 Enable the ls options (-p and -F).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000277
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000278config FEATURE_LS_FOLLOWLINKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000279 bool "Enable symlinks dereferencing (-L)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000280 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000281 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000282 help
Eric Andersene5642112003-07-14 19:37:08 +0000283 Enable the ls option (-L).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000284
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000285config FEATURE_LS_RECURSIVE
Rob Landley2ec922e2006-04-13 23:22:16 +0000286 bool "Enable recursion (-R)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000287 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000288 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000289 help
Eric Andersene5642112003-07-14 19:37:08 +0000290 Enable the ls option (-R).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000291
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000292config FEATURE_LS_SORTFILES
Rob Landley2ec922e2006-04-13 23:22:16 +0000293 bool "Sort the file names"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000294 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000295 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000296 help
Eric Andersene5642112003-07-14 19:37:08 +0000297 Allow ls to sort file names alphabetically.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000298
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000299config FEATURE_LS_TIMESTAMPS
Rob Landley2ec922e2006-04-13 23:22:16 +0000300 bool "Show file timestamps"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000301 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000302 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000303 help
Eric Andersene5642112003-07-14 19:37:08 +0000304 Allow ls to display timestamps for files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000305
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000306config FEATURE_LS_USERNAME
Rob Landley2ec922e2006-04-13 23:22:16 +0000307 bool "Show username/groupnames"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000308 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000309 depends on LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000310 help
Eric Andersene5642112003-07-14 19:37:08 +0000311 Allow ls to display username/groupname for files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000312
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000313config FEATURE_LS_COLOR
Rob Landley2ec922e2006-04-13 23:22:16 +0000314 bool "Allow use of color to identify file types"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000315 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200316 depends on LS && LONG_OPTS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000317 help
Paul Fox156dc412005-08-01 19:33:30 +0000318 This enables the --color option to ls.
319
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000320config FEATURE_LS_COLOR_IS_DEFAULT
Rob Landley2ec922e2006-04-13 23:22:16 +0000321 bool "Produce colored ls output by default"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200322 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000323 depends on FEATURE_LS_COLOR
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000324 help
325 Saying yes here will turn coloring on by default,
326 even if no "--color" option is given to the ls command.
327 This is not recommended, since the colors are not
328 configurable, and the output may not be legible on
329 many output screens.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000330
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000331config MD5SUM
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000332 bool "md5sum"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200333 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000334 help
Eric Andersene5642112003-07-14 19:37:08 +0000335 md5sum is used to print or check MD5 checksums.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000336
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000337config MKDIR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000338 bool "mkdir"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200339 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000340 help
Eric Andersene5642112003-07-14 19:37:08 +0000341 mkdir is used to create directories with the specified names.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000342
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000343config FEATURE_MKDIR_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000344 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200345 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200346 depends on MKDIR && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000347 help
348 Support long options for the mkdir applet.
349
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000350config MKFIFO
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000351 bool "mkfifo"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200352 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000353 help
Eric Andersene5642112003-07-14 19:37:08 +0000354 mkfifo is used to create FIFOs (named pipes).
355 The `mknod' program can also create FIFOs.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000356
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000357config MKNOD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000358 bool "mknod"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200359 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000360 help
Eric Andersene5642112003-07-14 19:37:08 +0000361 mknod is used to create FIFOs or block/character special
362 files with the specified names.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000363
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000364config MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000365 bool "mv"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200366 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000367 help
Eric Andersene5642112003-07-14 19:37:08 +0000368 mv is used to move or rename files or directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000369
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000370config FEATURE_MV_LONG_OPTIONS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000371 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200372 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200373 depends on MV && LONG_OPTS
Bernhard Reutner-Fischer01d23ad2006-05-26 20:19:22 +0000374 help
375 Support long options for the mv applet.
376
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000377config NICE
Manuel Novoa III 2c511602005-02-13 20:14:05 +0000378 bool "nice"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200379 default y
Manuel Novoa III 2c511602005-02-13 20:14:05 +0000380 help
381 nice runs a program with modified scheduling priority.
382
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000383config NOHUP
Bernhard Reutner-Fischer9d7010c2005-09-21 18:25:05 +0000384 bool "nohup"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200385 default y
Bernhard Reutner-Fischer9d7010c2005-09-21 18:25:05 +0000386 help
387 run a command immune to hangups, with output to a non-tty.
388
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000389config OD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000390 bool "od"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200391 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000392 help
Eric Andersene5642112003-07-14 19:37:08 +0000393 od is used to dump binary files in octal and other formats.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000394
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000395config PRINTENV
Mike Frysinger7f8797c2005-09-24 23:15:28 +0000396 bool "printenv"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200397 default y
Mike Frysinger7f8797c2005-09-24 23:15:28 +0000398 help
399 printenv is used to print all or part of environment.
400
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000401config PRINTF
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000402 bool "printf"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200403 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000404 help
Eric Andersene5642112003-07-14 19:37:08 +0000405 printf is used to format and print specified strings.
406 It's similar to `echo' except it has more options.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000407
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000408config PWD
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000409 bool "pwd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200410 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000411 help
Eric Andersene5642112003-07-14 19:37:08 +0000412 pwd is used to print the current directory.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000413
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000414config READLINK
415 bool "readlink"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200416 default y
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000417 help
418 This program reads a symbolic link and returns the name
419 of the file it points to
420
421config FEATURE_READLINK_FOLLOW
422 bool "Enable canonicalization by following all symlinks (-f)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200423 default y
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000424 depends on READLINK
425 help
426 Enable the readlink option (-f).
427
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000428config REALPATH
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000429 bool "realpath"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200430 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000431 help
432 Return the canonicalized absolute pathname.
Eric Andersen88c916b2003-10-22 09:58:56 +0000433 This isn't provided by GNU shellutils, but where else does it belong.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000434
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000435config RM
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000436 bool "rm"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200437 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000438 help
Eric Andersene5642112003-07-14 19:37:08 +0000439 rm is used to remove files or directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000440
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000441config RMDIR
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000442 bool "rmdir"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200443 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000444 help
Eric Andersene5642112003-07-14 19:37:08 +0000445 rmdir is used to remove empty directories.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000446
Denis Vlasenkoa2f47352008-02-24 22:45:04 +0000447config FEATURE_RMDIR_LONG_OPTIONS
448 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200449 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200450 depends on RMDIR && LONG_OPTS
Denis Vlasenkoa2f47352008-02-24 22:45:04 +0000451 help
452 Support long options for the rmdir applet, including
453 --ignore-fail-on-non-empty for compatibility with GNU rmdir.
454
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000455config SEQ
Glenn L McGrath82364bb2004-01-27 09:22:20 +0000456 bool "seq"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200457 default y
Glenn L McGrath82364bb2004-01-27 09:22:20 +0000458 help
459 print a sequence of numbers
460
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000461config SHA1SUM
Glenn L McGrathae0f1e72003-02-17 08:23:22 +0000462 bool "sha1sum"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200463 default y
Glenn L McGrathae0f1e72003-02-17 08:23:22 +0000464 help
465 Compute and check SHA1 message digest
466
Denis Vlasenko56dceb92008-11-10 13:32:50 +0000467config SHA256SUM
468 bool "sha256sum"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200469 default y
Denis Vlasenko56dceb92008-11-10 13:32:50 +0000470 help
471 Compute and check SHA256 message digest
472
473config SHA512SUM
474 bool "sha512sum"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200475 default y
Denis Vlasenko56dceb92008-11-10 13:32:50 +0000476 help
477 Compute and check SHA512 message digest
478
Lauri Kasanenb8173b62013-01-14 05:20:50 +0100479config SHA3SUM
480 bool "sha3sum"
481 default y
482 help
483 Compute and check SHA3 (512-bit) message digest
484
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000485config SLEEP
Denis Vlasenko97faf532008-07-15 22:01:49 +0000486 bool "sleep"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200487 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000488 help
Denis Vlasenko97faf532008-07-15 22:01:49 +0000489 sleep is used to pause for a specified number of seconds.
490 It comes in 3 versions:
491 - small: takes one integer parameter
492 - fancy: takes multiple integer arguments with suffixes:
493 sleep 1d 2h 3m 15s
494 - fancy with fractional numbers:
495 sleep 2.3s 4.5h sleeps for 16202.3 seconds
496 Last one is "the most compatible" with coreutils sleep,
497 but it adds around 1k of code.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000498
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000499config FEATURE_FANCY_SLEEP
Denis Vlasenko97faf532008-07-15 22:01:49 +0000500 bool "Enable multiple arguments and s/m/h/d suffixes"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200501 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000502 depends on SLEEP
Manuel Novoa III cad53642003-03-19 09:13:01 +0000503 help
Eric Andersene5642112003-07-14 19:37:08 +0000504 Allow sleep to pause for specified minutes, hours, and days.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000505
Denis Vlasenko97faf532008-07-15 22:01:49 +0000506config FEATURE_FLOAT_SLEEP
507 bool "Enable fractional arguments"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200508 default y
Denis Vlasenko97faf532008-07-15 22:01:49 +0000509 depends on FEATURE_FANCY_SLEEP
510 help
511 Allow for fractional numeric parameters.
512
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000513config SORT
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000514 bool "sort"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200515 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000516 help
Eric Andersene5642112003-07-14 19:37:08 +0000517 sort is used to sort lines of text in specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000518
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000519config FEATURE_SORT_BIG
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000520 bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
Rob Landleyc0dedd02005-01-24 07:00:02 +0000521 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000522 depends on SORT
Rob Landleyc0dedd02005-01-24 07:00:02 +0000523 help
Denis Vlasenko97faf532008-07-15 22:01:49 +0000524 Without this, sort only supports -r, -u, and an integer version
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000525 of -n. Selecting this adds sort keys, floating point support, and
526 more. This adds a little over 3k to a nonstatic build on x86.
Rob Landleyc0dedd02005-01-24 07:00:02 +0000527
528 The SuSv3 sort standard is available at:
529 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
530
Bernhard Reutner-Fischer10f8f5f2007-03-25 21:50:18 +0000531config SPLIT
532 bool "split"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200533 default y
Bernhard Reutner-Fischer10f8f5f2007-03-25 21:50:18 +0000534 help
535 split a file into pieces.
Bernhard Reutner-Fischer0a537a02007-03-28 16:48:40 +0000536
537config FEATURE_SPLIT_FANCY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000538 bool "Fancy extensions"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200539 default y
Bernhard Reutner-Fischer0a537a02007-03-28 16:48:40 +0000540 depends on SPLIT
541 help
542 Add support for features not required by SUSv3.
543 Supports additional suffixes 'b' for 512 bytes,
544 'g' for 1GiB for the -b option.
Bernhard Reutner-Fischer10f8f5f2007-03-25 21:50:18 +0000545
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000546config STAT
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000547 bool "stat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200548 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100549 select PLATFORM_LINUX # statfs()
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000550 help
551 display file or filesystem status.
552
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000553config FEATURE_STAT_FORMAT
Rob Landley2ec922e2006-04-13 23:22:16 +0000554 bool "Enable custom formats (-c)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200555 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000556 depends on STAT
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000557 help
Tim Rikerc1ef7bd2006-01-25 00:08:53 +0000558 Without this, stat will not support the '-c format' option where
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000559 users can pass a custom format string for output. This adds about
Mike Frysinger9b5f71e2005-04-23 06:26:38 +0000560 7k to a nonstatic build on amd64.
561
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000562config STTY
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000563 bool "stty"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200564 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000565 help
Eric Andersene5642112003-07-14 19:37:08 +0000566 stty is used to change and print terminal line settings.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000567
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000568config SUM
Mike Frysinger4a211702005-04-21 23:24:46 +0000569 bool "sum"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200570 default y
Mike Frysinger4a211702005-04-21 23:24:46 +0000571 help
572 checksum and count the blocks in a file
573
Denis Vlasenkobcd5fc12008-01-06 06:27:17 +0000574config TAC
575 bool "tac"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200576 default y
Denis Vlasenkobcd5fc12008-01-06 06:27:17 +0000577 help
578 tac is used to concatenate and print files in reverse.
579
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000580config TAIL
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000581 bool "tail"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200582 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000583 help
Eric Andersene5642112003-07-14 19:37:08 +0000584 tail is used to print the last specified number of lines
585 from files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000586
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000587config FEATURE_FANCY_TAIL
Eric Lammerts3b5a6642009-07-22 00:31:27 +0200588 bool "Enable extra tail options (-q, -s, -v, and -F)"
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000589 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000590 depends on TAIL
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000591 help
Cristian Ionescu-Idbohrn1bdbf262014-01-09 20:00:58 +0100592 The options (-q, -s, -v and -F) are provided by GNU tail, but
Glenn L McGrath4ef5a842003-10-31 00:35:59 +0000593 are not specific in the SUSv3 standard.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000594
Bernhard Reutner-Fischer836f3632010-02-26 18:33:39 +0100595 -q Never output headers giving file names
596 -s SEC Wait SEC seconds between reads with -f
597 -v Always output headers giving file names
Cristian Ionescu-Idbohrn1bdbf262014-01-09 20:00:58 +0100598 -F Same as -f, but keep retrying
Bernhard Reutner-Fischer836f3632010-02-26 18:33:39 +0100599
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000600config TEE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000601 bool "tee"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200602 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000603 help
Eric Andersene5642112003-07-14 19:37:08 +0000604 tee is used to read from standard input and write
605 to standard output and files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000606
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000607config FEATURE_TEE_USE_BLOCK_IO
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000608 bool "Enable block I/O (larger/faster) instead of byte I/O"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200609 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000610 depends on TEE
Manuel Novoa III cad53642003-03-19 09:13:01 +0000611 help
Eric Andersene5642112003-07-14 19:37:08 +0000612 Enable this option for a faster tee, at expense of size.
Manuel Novoa III cad53642003-03-19 09:13:01 +0000613
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000614config TRUE
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000615 bool "true"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200616 default y
Bernhard Reutner-Fischer96002bb2006-01-19 14:42:23 +0000617 help
618 true returns an exit code of TRUE (0).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000619
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000620config TTY
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000621 bool "tty"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200622 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000623 help
Eric Andersene5642112003-07-14 19:37:08 +0000624 tty is used to print the name of the current terminal to
625 standard output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000626
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000627config UNAME
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000628 bool "uname"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200629 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000630 help
Eric Andersene5642112003-07-14 19:37:08 +0000631 uname is used to print system information.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000632
Ron Yorston64ed5f02015-07-12 16:06:37 +0100633config UNAME_OSNAME
634 string "Operating system name"
635 default "GNU/Linux"
636 depends on UNAME
637 help
638 Sets the operating system name reported by uname -o. The
639 default is "GNU/Linux".
640
Denis Vlasenko3952f202007-08-13 14:10:24 +0000641config UNEXPAND
642 bool "unexpand"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200643 default y
Denis Vlasenko3952f202007-08-13 14:10:24 +0000644 help
645 By default, convert only leading sequences of blanks to tabs.
646
647config FEATURE_UNEXPAND_LONG_OPTIONS
648 bool "Enable long options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200649 default y
Denys Vlasenkof3b92d32009-06-19 12:10:38 +0200650 depends on UNEXPAND && LONG_OPTS
Denis Vlasenko3952f202007-08-13 14:10:24 +0000651 help
652 Support long options for the unexpand applet.
653
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000654config UNIQ
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000655 bool "uniq"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200656 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000657 help
Eric Andersene5642112003-07-14 19:37:08 +0000658 uniq is used to remove duplicate lines from a sorted file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000659
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000660config USLEEP
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000661 bool "usleep"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200662 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000663 help
Eric Andersene5642112003-07-14 19:37:08 +0000664 usleep is used to pause for a specified number of microseconds.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000665
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000666config UUDECODE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000667 bool "uudecode"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200668 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000669 help
Eric Andersene5642112003-07-14 19:37:08 +0000670 uudecode is used to decode a uuencoded file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000671
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000672config UUENCODE
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000673 bool "uuencode"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200674 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000675 help
Eric Andersene5642112003-07-14 19:37:08 +0000676 uuencode is used to uuencode a file.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000677
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000678config WC
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000679 bool "wc"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200680 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000681 help
Eric Andersene5642112003-07-14 19:37:08 +0000682 wc is used to print the number of bytes, words, and lines,
683 in specified files.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000684
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000685config FEATURE_WC_LARGE
Denis Vlasenko70210162006-09-29 23:41:59 +0000686 bool "Support very large files in wc"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200687 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000688 depends on WC
Denis Vlasenko70210162006-09-29 23:41:59 +0000689 help
Bernhard Reutner-Fischerbb5f8ed2009-02-14 12:13:13 +0000690 Use "unsigned long long" in wc for counter variables.
Denis Vlasenko70210162006-09-29 23:41:59 +0000691
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000692config WHOAMI
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000693 bool "whoami"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200694 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000695 help
Eric Andersene5642112003-07-14 19:37:08 +0000696 whoami is used to print the username of the current
697 user id (same as id -un).
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000698
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000699config YES
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000700 bool "yes"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200701 default y
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000702 help
Eric Andersene5642112003-07-14 19:37:08 +0000703 yes is used to repeatedly output a specific string, or
704 the default string `y'.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000705
Denys Vlasenko17f84182014-05-19 16:23:50 +0200706comment "Common options"
707
708config FEATURE_VERBOSE
709 bool "Support verbose options (usually -v) for various applets"
710 default y
711 help
712 Enable cp -v, rm -v and similar messages.
713 Also enables long option (--verbose) if it exists.
714 Without this option, -v is accepted but ignored.
715
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000716comment "Common options for cp and mv"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000717 depends on CP || MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000718
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000719config FEATURE_PRESERVE_HARDLINKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000720 bool "Preserve hard links"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200721 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000722 depends on CP || MV
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000723 help
Eric Andersene5642112003-07-14 19:37:08 +0000724 Allow cp and mv to preserve hard links.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000725
Rob Landley30a6bba2006-02-06 02:49:45 +0000726comment "Common options for ls, more and telnet"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000727 depends on LS || MORE || TELNET
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000728
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000729config FEATURE_AUTOWIDTH
Rob Landley2ec922e2006-04-13 23:22:16 +0000730 bool "Calculate terminal & column widths"
Eric Andersen727f5292003-07-26 09:33:16 +0000731 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000732 depends on LS || MORE || TELNET
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000733 help
Rob Landley30a6bba2006-02-06 02:49:45 +0000734 This option allows utilities such as 'ls', 'more' and 'telnet'
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000735 to determine the width of the screen, which can allow them to
Rob Landley30a6bba2006-02-06 02:49:45 +0000736 display additional text or avoid wrapping text onto the next line.
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000737 If you leave this disabled, your utilities will be especially
Rob Landley30a6bba2006-02-06 02:49:45 +0000738 primitive and will be unable to determine the current screen width.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000739
740comment "Common options for df, du, ls"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000741 depends on DF || DU || LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000742
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000743config FEATURE_HUMAN_READABLE
Rob Landley2ec922e2006-04-13 23:22:16 +0000744 bool "Support for human readable output (example 13k, 23M, 235G)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200745 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000746 depends on DF || DU || LS
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000747 help
Eric Andersene5642112003-07-14 19:37:08 +0000748 Allow df, du, and ls to have human readable output.
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000749
Lauri Kasanenb8173b62013-01-14 05:20:50 +0100750comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum"
751 depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000752
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000753config FEATURE_MD5_SHA1_SUM_CHECK
Rob Landley2ec922e2006-04-13 23:22:16 +0000754 bool "Enable -c, -s and -w options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200755 default y
Lauri Kasanenb8173b62013-01-14 05:20:50 +0100756 depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000757 help
Glenn L McGrath5c0d84a2003-12-08 20:11:55 +0000758 Enabling the -c options allows files to be checked
Glenn L McGrathd2a897a2003-11-10 04:33:55 +0000759 against pre-calculated hash values.
760
Glenn L McGrath5c0d84a2003-12-08 20:11:55 +0000761 -s and -w are useful options when verifying checksums.
762
Glenn L McGrath3238ea12003-02-15 10:53:40 +0000763endmenu