2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
14 cal is used to display a monthly calender.
20 Display nonprinting characters as escape sequences (like some
21 implementations' cat -v option).
27 chgrp is used to change the group ownership of files.
33 chmod is used to change the access permission of files.
39 chown is used to change the user and/or group ownership
42 config FEATURE_CHOWN_LONG_OPTIONS
43 bool "Enable long options"
45 depends on CHOWN && LONG_OPTS
47 Enable use of long options
53 chroot is used to change the root directory and run a command.
54 The default command is `/bin/sh'.
60 cksum is used to calculate the CRC32 checksum of a file.
66 comm is used to compare two files line by line and return
67 a three-column output.
73 cp is used to copy files and directories.
75 config FEATURE_CP_LONG_OPTIONS
76 bool "Enable long options for cp"
78 depends on CP && LONG_OPTS
80 Enable long options for cp.
81 Also add support for --parents option.
87 cut is used to print selected parts of lines from
94 df reports the amount of disk space used and available
97 config FEATURE_DF_FANCY
98 bool "Enable -a, -i, -B"
102 This option enables -a, -i and -B.
104 -a Show all filesystems
112 dirname is used to strip a non-directory suffix from
116 bool "dos2unix/unix2dos"
119 dos2unix is used to convert a text file from DOS format to
120 UNIX format, and vice versa.
127 unix2dos is used to convert a text file from UNIX format to
128 DOS format, and vice versa.
131 bool "du (default blocksize of 512 bytes)"
134 du is used to report the amount of disk space used
137 config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
138 bool "Use a default blocksize of 1024 bytes (1K)"
142 Use a blocksize of (1K) instead of the default 512b.
145 bool "echo (basic SuSv3 version taking no options)"
148 echo is used to print a specified string to stdout.
150 # this entry also appears in shell/Config.in, next to the echo builtin
151 config FEATURE_FANCY_ECHO
152 bool "Enable echo options (-n and -e)"
154 depends on ECHO || ASH_BUILTIN_ECHO || HUSH
156 This adds options (-n and -e) to echo.
162 env is used to set an environment variable and run
163 a command; without options it displays the current
166 config FEATURE_ENV_LONG_OPTIONS
167 bool "Enable long options"
169 depends on ENV && LONG_OPTS
171 Support long options for the env applet.
177 By default, convert all tabs to spaces.
179 config FEATURE_EXPAND_LONG_OPTIONS
180 bool "Enable long options"
182 depends on EXPAND && LONG_OPTS
184 Support long options for the expand applet.
190 expr is used to calculate numbers and print the result
193 config EXPR_MATH_SUPPORT_64
194 bool "Extend Posix numbers support to 64 bit"
198 Enable 64-bit math support in the expr applet. This will make
199 the applet slightly larger, but will allow computation with very
206 false returns an exit code of FALSE (1).
212 Wrap text to fit a specific width.
218 fsync is used to flush file-related cached blocks to disk.
224 head is used to print the first specified number of lines
227 config FEATURE_FANCY_HEAD
228 bool "Enable head options (-c, -q, and -v)"
232 This enables the head options (-c, -q, and -v).
238 Copy files and set attributes.
240 config FEATURE_INSTALL_LONG_OPTIONS
241 bool "Enable long options"
243 depends on INSTALL && LONG_OPTS
245 Support long options for the install applet.
251 #### length is used to print out the length of a specified string.
257 ln is used to create hard or soft links between files.
263 logname is used to print the current user's login name.
269 ls is used to list the contents of directories.
271 config FEATURE_LS_FILETYPES
272 bool "Enable filetyping options (-p and -F)"
276 Enable the ls options (-p and -F).
278 config FEATURE_LS_FOLLOWLINKS
279 bool "Enable symlinks dereferencing (-L)"
283 Enable the ls option (-L).
285 config FEATURE_LS_RECURSIVE
286 bool "Enable recursion (-R)"
290 Enable the ls option (-R).
292 config FEATURE_LS_SORTFILES
293 bool "Sort the file names"
297 Allow ls to sort file names alphabetically.
299 config FEATURE_LS_TIMESTAMPS
300 bool "Show file timestamps"
304 Allow ls to display timestamps for files.
306 config FEATURE_LS_USERNAME
307 bool "Show username/groupnames"
311 Allow ls to display username/groupname for files.
313 config FEATURE_LS_COLOR
314 bool "Allow use of color to identify file types"
316 depends on LS && LONG_OPTS
318 This enables the --color option to ls.
320 config FEATURE_LS_COLOR_IS_DEFAULT
321 bool "Produce colored ls output by default"
323 depends on FEATURE_LS_COLOR
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
335 md5sum is used to print or check MD5 checksums.
341 mkdir is used to create directories with the specified names.
343 config FEATURE_MKDIR_LONG_OPTIONS
344 bool "Enable long options"
346 depends on MKDIR && LONG_OPTS
348 Support long options for the mkdir applet.
354 mkfifo is used to create FIFOs (named pipes).
355 The `mknod' program can also create FIFOs.
361 mknod is used to create FIFOs or block/character special
362 files with the specified names.
368 mv is used to move or rename files or directories.
370 config FEATURE_MV_LONG_OPTIONS
371 bool "Enable long options"
373 depends on MV && LONG_OPTS
375 Support long options for the mv applet.
381 nice runs a program with modified scheduling priority.
387 run a command immune to hangups, with output to a non-tty.
393 od is used to dump binary files in octal and other formats.
399 printenv is used to print all or part of environment.
405 printf is used to format and print specified strings.
406 It's similar to `echo' except it has more options.
412 pwd is used to print the current directory.
418 This program reads a symbolic link and returns the name
419 of the file it points to
421 config FEATURE_READLINK_FOLLOW
422 bool "Enable canonicalization by following all symlinks (-f)"
426 Enable the readlink option (-f).
432 Return the canonicalized absolute pathname.
433 This isn't provided by GNU shellutils, but where else does it belong.
439 rm is used to remove files or directories.
445 rmdir is used to remove empty directories.
447 config FEATURE_RMDIR_LONG_OPTIONS
448 bool "Enable long options"
450 depends on RMDIR && LONG_OPTS
452 Support long options for the rmdir applet, including
453 --ignore-fail-on-non-empty for compatibility with GNU rmdir.
459 print a sequence of numbers
465 Compute and check SHA1 message digest
471 Compute and check SHA256 message digest
477 Compute and check SHA512 message digest
483 Compute and check SHA3 (512-bit) message digest
489 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:
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.
499 config FEATURE_FANCY_SLEEP
500 bool "Enable multiple arguments and s/m/h/d suffixes"
504 Allow sleep to pause for specified minutes, hours, and days.
506 config FEATURE_FLOAT_SLEEP
507 bool "Enable fractional arguments"
509 depends on FEATURE_FANCY_SLEEP
511 Allow for fractional numeric parameters.
517 sort is used to sort lines of text in specified files.
519 config FEATURE_SORT_BIG
520 bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
524 Without this, sort only supports -r, -u, and an integer version
525 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.
528 The SuSv3 sort standard is available at:
529 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
535 split a file into pieces.
537 config FEATURE_SPLIT_FANCY
538 bool "Fancy extensions"
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.
549 select PLATFORM_LINUX # statfs()
551 display file or filesystem status.
553 config FEATURE_STAT_FORMAT
554 bool "Enable custom formats (-c)"
558 Without this, stat will not support the '-c format' option where
559 users can pass a custom format string for output. This adds about
560 7k to a nonstatic build on amd64.
566 stty is used to change and print terminal line settings.
572 checksum and count the blocks in a file
578 sync is used to flush filesystem buffers.
584 tac is used to concatenate and print files in reverse.
590 tail is used to print the last specified number of lines
593 config FEATURE_FANCY_TAIL
594 bool "Enable extra tail options (-q, -s, -v, and -F)"
598 The options (-q, -s, -v and -F) are provided by GNU tail, but
599 are not specific in the SUSv3 standard.
601 -q Never output headers giving file names
602 -s SEC Wait SEC seconds between reads with -f
603 -v Always output headers giving file names
604 -F Same as -f, but keep retrying
610 tee is used to read from standard input and write
611 to standard output and files.
613 config FEATURE_TEE_USE_BLOCK_IO
614 bool "Enable block I/O (larger/faster) instead of byte I/O"
618 Enable this option for a faster tee, at expense of size.
624 true returns an exit code of TRUE (0).
630 tty is used to print the name of the current terminal to
637 uname is used to print system information.
643 By default, convert only leading sequences of blanks to tabs.
645 config FEATURE_UNEXPAND_LONG_OPTIONS
646 bool "Enable long options"
648 depends on UNEXPAND && LONG_OPTS
650 Support long options for the unexpand applet.
656 uniq is used to remove duplicate lines from a sorted file.
662 usleep is used to pause for a specified number of microseconds.
668 uudecode is used to decode a uuencoded file.
674 uuencode is used to uuencode a file.
680 wc is used to print the number of bytes, words, and lines,
683 config FEATURE_WC_LARGE
684 bool "Support very large files in wc"
688 Use "unsigned long long" in wc for counter variables.
694 whoami is used to print the username of the current
695 user id (same as id -un).
701 yes is used to repeatedly output a specific string, or
702 the default string `y'.
704 comment "Common options"
706 config FEATURE_VERBOSE
707 bool "Support verbose options (usually -v) for various applets"
710 Enable cp -v, rm -v and similar messages.
711 Also enables long option (--verbose) if it exists.
712 Without this option, -v is accepted but ignored.
714 comment "Common options for cp and mv"
717 config FEATURE_PRESERVE_HARDLINKS
718 bool "Preserve hard links"
722 Allow cp and mv to preserve hard links.
724 comment "Common options for ls, more and telnet"
725 depends on LS || MORE || TELNET
727 config FEATURE_AUTOWIDTH
728 bool "Calculate terminal & column widths"
730 depends on LS || MORE || TELNET
732 This option allows utilities such as 'ls', 'more' and 'telnet'
733 to determine the width of the screen, which can allow them to
734 display additional text or avoid wrapping text onto the next line.
735 If you leave this disabled, your utilities will be especially
736 primitive and will be unable to determine the current screen width.
738 comment "Common options for df, du, ls"
739 depends on DF || DU || LS
741 config FEATURE_HUMAN_READABLE
742 bool "Support for human readable output (example 13k, 23M, 235G)"
744 depends on DF || DU || LS
746 Allow df, du, and ls to have human readable output.
748 comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum"
749 depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
751 config FEATURE_MD5_SHA1_SUM_CHECK
752 bool "Enable -c, -s and -w options"
754 depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
756 Enabling the -c options allows files to be checked
757 against pre-calculated hash values.
759 -s and -w are useful options when verifying checksums.