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 dd copies a file (from standard input to standard output,
95 by default) using specific input and output blocksizes,
96 while optionally performing conversions on it.
98 config FEATURE_DD_SIGNAL_HANDLING
99 bool "Enable DD signal handling for status reporting"
103 Sending a SIGUSR1 signal to a running `dd' process makes it
104 print to standard error the number of records read and written
105 so far, then to resume copying.
107 $ dd if=/dev/zero of=/dev/null&
108 $ pid=$! kill -USR1 $pid; sleep 1; kill $pid
109 10899206+0 records in
110 10899206+0 records out
112 config FEATURE_DD_THIRD_STATUS_LINE
113 bool "Enable the third status line upon signal"
115 depends on DD && FEATURE_DD_SIGNAL_HANDLING
117 Displays a coreutils-like third status line with transferred bytes,
118 elapsed time and speed.
120 config FEATURE_DD_IBS_OBS
121 bool "Enable ibs, obs and conv options"
125 Enables support for writing a certain number of bytes in and out,
126 at a time, and performing conversions on the data stream.
132 df reports the amount of disk space used and available
135 config FEATURE_DF_FANCY
136 bool "Enable -a, -i, -B"
140 This option enables -a, -i and -B.
142 -a Show all filesystems
150 dirname is used to strip a non-directory suffix from
154 bool "dos2unix/unix2dos"
157 dos2unix is used to convert a text file from DOS format to
158 UNIX format, and vice versa.
165 unix2dos is used to convert a text file from UNIX format to
166 DOS format, and vice versa.
169 bool "du (default blocksize of 512 bytes)"
172 du is used to report the amount of disk space used
175 config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
176 bool "Use a default blocksize of 1024 bytes (1K)"
180 Use a blocksize of (1K) instead of the default 512b.
183 bool "echo (basic SuSv3 version taking no options)"
186 echo is used to print a specified string to stdout.
188 # this entry also appears in shell/Config.in, next to the echo builtin
189 config FEATURE_FANCY_ECHO
190 bool "Enable echo options (-n and -e)"
192 depends on ECHO || ASH_BUILTIN_ECHO || HUSH
194 This adds options (-n and -e) to echo.
200 env is used to set an environment variable and run
201 a command; without options it displays the current
204 config FEATURE_ENV_LONG_OPTIONS
205 bool "Enable long options"
207 depends on ENV && LONG_OPTS
209 Support long options for the env applet.
215 By default, convert all tabs to spaces.
217 config FEATURE_EXPAND_LONG_OPTIONS
218 bool "Enable long options"
220 depends on EXPAND && LONG_OPTS
222 Support long options for the expand applet.
228 expr is used to calculate numbers and print the result
231 config EXPR_MATH_SUPPORT_64
232 bool "Extend Posix numbers support to 64 bit"
236 Enable 64-bit math support in the expr applet. This will make
237 the applet slightly larger, but will allow computation with very
244 false returns an exit code of FALSE (1).
250 Wrap text to fit a specific width.
256 fsync is used to flush file-related cached blocks to disk.
262 head is used to print the first specified number of lines
265 config FEATURE_FANCY_HEAD
266 bool "Enable head options (-c, -q, and -v)"
270 This enables the head options (-c, -q, and -v).
276 Copy files and set attributes.
278 config FEATURE_INSTALL_LONG_OPTIONS
279 bool "Enable long options"
281 depends on INSTALL && LONG_OPTS
283 Support long options for the install applet.
289 #### length is used to print out the length of a specified string.
295 ln is used to create hard or soft links between files.
301 logname is used to print the current user's login name.
307 ls is used to list the contents of directories.
309 config FEATURE_LS_FILETYPES
310 bool "Enable filetyping options (-p and -F)"
314 Enable the ls options (-p and -F).
316 config FEATURE_LS_FOLLOWLINKS
317 bool "Enable symlinks dereferencing (-L)"
321 Enable the ls option (-L).
323 config FEATURE_LS_RECURSIVE
324 bool "Enable recursion (-R)"
328 Enable the ls option (-R).
330 config FEATURE_LS_SORTFILES
331 bool "Sort the file names"
335 Allow ls to sort file names alphabetically.
337 config FEATURE_LS_TIMESTAMPS
338 bool "Show file timestamps"
342 Allow ls to display timestamps for files.
344 config FEATURE_LS_USERNAME
345 bool "Show username/groupnames"
349 Allow ls to display username/groupname for files.
351 config FEATURE_LS_COLOR
352 bool "Allow use of color to identify file types"
354 depends on LS && LONG_OPTS
356 This enables the --color option to ls.
358 config FEATURE_LS_COLOR_IS_DEFAULT
359 bool "Produce colored ls output by default"
361 depends on FEATURE_LS_COLOR
363 Saying yes here will turn coloring on by default,
364 even if no "--color" option is given to the ls command.
365 This is not recommended, since the colors are not
366 configurable, and the output may not be legible on
373 md5sum is used to print or check MD5 checksums.
379 mkdir is used to create directories with the specified names.
381 config FEATURE_MKDIR_LONG_OPTIONS
382 bool "Enable long options"
384 depends on MKDIR && LONG_OPTS
386 Support long options for the mkdir applet.
392 mkfifo is used to create FIFOs (named pipes).
393 The `mknod' program can also create FIFOs.
399 mknod is used to create FIFOs or block/character special
400 files with the specified names.
406 mv is used to move or rename files or directories.
408 config FEATURE_MV_LONG_OPTIONS
409 bool "Enable long options"
411 depends on MV && LONG_OPTS
413 Support long options for the mv applet.
419 nice runs a program with modified scheduling priority.
425 run a command immune to hangups, with output to a non-tty.
431 od is used to dump binary files in octal and other formats.
437 printenv is used to print all or part of environment.
443 printf is used to format and print specified strings.
444 It's similar to `echo' except it has more options.
450 pwd is used to print the current directory.
456 This program reads a symbolic link and returns the name
457 of the file it points to
459 config FEATURE_READLINK_FOLLOW
460 bool "Enable canonicalization by following all symlinks (-f)"
464 Enable the readlink option (-f).
470 Return the canonicalized absolute pathname.
471 This isn't provided by GNU shellutils, but where else does it belong.
477 rm is used to remove files or directories.
483 rmdir is used to remove empty directories.
485 config FEATURE_RMDIR_LONG_OPTIONS
486 bool "Enable long options"
488 depends on RMDIR && LONG_OPTS
490 Support long options for the rmdir applet, including
491 --ignore-fail-on-non-empty for compatibility with GNU rmdir.
497 print a sequence of numbers
503 Compute and check SHA1 message digest
509 Compute and check SHA256 message digest
515 Compute and check SHA512 message digest
521 sleep is used to pause for a specified number of seconds.
522 It comes in 3 versions:
523 - small: takes one integer parameter
524 - fancy: takes multiple integer arguments with suffixes:
526 - fancy with fractional numbers:
527 sleep 2.3s 4.5h sleeps for 16202.3 seconds
528 Last one is "the most compatible" with coreutils sleep,
529 but it adds around 1k of code.
531 config FEATURE_FANCY_SLEEP
532 bool "Enable multiple arguments and s/m/h/d suffixes"
536 Allow sleep to pause for specified minutes, hours, and days.
538 config FEATURE_FLOAT_SLEEP
539 bool "Enable fractional arguments"
541 depends on FEATURE_FANCY_SLEEP
543 Allow for fractional numeric parameters.
549 sort is used to sort lines of text in specified files.
551 config FEATURE_SORT_BIG
552 bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
556 Without this, sort only supports -r, -u, and an integer version
557 of -n. Selecting this adds sort keys, floating point support, and
558 more. This adds a little over 3k to a nonstatic build on x86.
560 The SuSv3 sort standard is available at:
561 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
567 split a file into pieces.
569 config FEATURE_SPLIT_FANCY
570 bool "Fancy extensions"
574 Add support for features not required by SUSv3.
575 Supports additional suffixes 'b' for 512 bytes,
576 'g' for 1GiB for the -b option.
581 select PLATFORM_LINUX # statfs()
583 display file or filesystem status.
585 config FEATURE_STAT_FORMAT
586 bool "Enable custom formats (-c)"
590 Without this, stat will not support the '-c format' option where
591 users can pass a custom format string for output. This adds about
592 7k to a nonstatic build on amd64.
598 stty is used to change and print terminal line settings.
604 checksum and count the blocks in a file
610 sync is used to flush filesystem buffers.
616 tac is used to concatenate and print files in reverse.
622 tail is used to print the last specified number of lines
625 config FEATURE_FANCY_TAIL
626 bool "Enable extra tail options (-q, -s, -v, and -F)"
630 The options (-q, -s, and -v) are provided by GNU tail, but
631 are not specific in the SUSv3 standard.
633 -q Never output headers giving file names
634 -s SEC Wait SEC seconds between reads with -f
635 -v Always output headers giving file names
641 tee is used to read from standard input and write
642 to standard output and files.
644 config FEATURE_TEE_USE_BLOCK_IO
645 bool "Enable block I/O (larger/faster) instead of byte I/O"
649 Enable this option for a faster tee, at expense of size.
655 true returns an exit code of TRUE (0).
661 tty is used to print the name of the current terminal to
668 uname is used to print system information.
674 By default, convert only leading sequences of blanks to tabs.
676 config FEATURE_UNEXPAND_LONG_OPTIONS
677 bool "Enable long options"
679 depends on UNEXPAND && LONG_OPTS
681 Support long options for the unexpand applet.
687 uniq is used to remove duplicate lines from a sorted file.
693 usleep is used to pause for a specified number of microseconds.
699 uudecode is used to decode a uuencoded file.
705 uuencode is used to uuencode a file.
711 wc is used to print the number of bytes, words, and lines,
714 config FEATURE_WC_LARGE
715 bool "Support very large files in wc"
719 Use "unsigned long long" in wc for counter variables.
725 whoami is used to print the username of the current
726 user id (same as id -un).
732 yes is used to repeatedly output a specific string, or
733 the default string `y'.
735 comment "Common options for cp and mv"
738 config FEATURE_PRESERVE_HARDLINKS
739 bool "Preserve hard links"
743 Allow cp and mv to preserve hard links.
745 comment "Common options for ls, more and telnet"
746 depends on LS || MORE || TELNET
748 config FEATURE_AUTOWIDTH
749 bool "Calculate terminal & column widths"
751 depends on LS || MORE || TELNET
753 This option allows utilities such as 'ls', 'more' and 'telnet'
754 to determine the width of the screen, which can allow them to
755 display additional text or avoid wrapping text onto the next line.
756 If you leave this disabled, your utilities will be especially
757 primitive and will be unable to determine the current screen width.
759 comment "Common options for df, du, ls"
760 depends on DF || DU || LS
762 config FEATURE_HUMAN_READABLE
763 bool "Support for human readable output (example 13k, 23M, 235G)"
765 depends on DF || DU || LS
767 Allow df, du, and ls to have human readable output.
769 comment "Common options for md5sum, sha1sum, sha256sum, sha512sum"
770 depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM
772 config FEATURE_MD5_SHA1_SUM_CHECK
773 bool "Enable -c, -s and -w options"
775 depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM
777 Enabling the -c options allows files to be checked
778 against pre-calculated hash values.
780 -s and -w are useful options when verifying checksums.