2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
12 basename is used to strip the directory and suffix from filenames,
13 leaving just the filename itself. Enable this option if you wish
14 to enable the 'basename' utility.
20 cal is used to display a monthly calender.
26 cat is used to concatenate files and print them to the standard
27 output. Enable this option if you wish to enable the 'cat' utility.
33 Display nonprinting characters as escape sequences (like some
34 implementations' cat -v option).
40 chgrp is used to change the group ownership of files.
46 chmod is used to change the access permission of files.
52 chown is used to change the user and/or group ownership
59 chroot is used to change the root directory and run a command.
60 The default command is `/bin/sh'.
66 cksum is used to calculate the CRC32 checksum of a file.
72 cmp is used to compare two files and returns the result
79 comm is used to compare two files line by line and return
80 a three-column output.
86 cp is used to copy files and directories.
92 cut is used to print selected parts of lines from
99 date is used to set the system date or display the
100 current time in the given format.
102 config FEATURE_DATE_ISOFMT
103 bool "Enable ISO date format output (-I)"
107 Enable option (-I) to output an ISO-8601 compliant
114 dd copies a file (from standard input to standard output,
115 by default) using specific input and output blocksizes,
116 while optionally performing conversions on it.
118 config FEATURE_DD_SIGNAL_HANDLING
119 bool "Enable DD signal handling for status reporting"
123 sending a SIGUSR1 signal to a running `dd' process makes it
124 print to standard error the number of records read and written
125 so far, then to resume copying.
127 $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid
128 10899206+0 records in 10899206+0 records out
130 config FEATURE_DD_IBS_OBS
131 bool "Enable ibs, obs and conv options"
135 Enables support for writing a certain number of bytes in and out,
136 at a time, and performing conversions on the data stream.
142 df reports the amount of disk space used and available
149 diff compares two files or directories and outputs the
150 differences between them in a form that can be given to
153 config FEATURE_DIFF_BINARY
154 bool "Enable checks for binary files"
158 This option enables support for checking for binary files
159 before a comparison is carried out.
161 config FEATURE_DIFF_DIR
162 bool "Enable directory support"
166 This option enables support for directory and subdirectory
169 config FEATURE_DIFF_MINIMAL
170 bool "Enable -d option to find smaller sets of changes"
174 Enabling this option allows the use of -d to make diff
175 try hard to find the smallest possible set of changes.
181 dirname is used to strip a non-directory suffix from
185 bool "dos2unix/unix2dos"
188 dos2unix is used to convert a text file from DOS format to
189 UNIX format, and vice versa.
196 unix2dos is used to convert a text file from UNIX format to
197 DOS format, and vice versa.
200 bool "du (default blocksize of 512 bytes)"
203 du is used to report the amount of disk space used
206 config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
207 bool "Use a default blocksize of 1024 bytes (1K)"
211 Use a blocksize of (1K) instead of the default 512b.
214 bool "echo (basic SuSv3 version taking no options)"
217 echo is used to print a specified string to stdout.
219 # this entry also appears in shell/Config.in, next to the echo builtin
220 config FEATURE_FANCY_ECHO
221 bool "Enable echo options (-n and -e)"
225 This adds options (-n and -e) to echo.
231 env is used to set an environment variable and run
232 a command; without options it displays the current
235 config FEATURE_ENV_LONG_OPTIONS
236 bool "Enable long options"
238 depends on ENV && GETOPT_LONG
240 Support long options for the env applet.
246 expr is used to calculate numbers and print the result
249 config EXPR_MATH_SUPPORT_64
250 bool "Extend Posix numbers support to 64 bit"
254 Enable 64-bit math support in the expr applet. This will make
255 the applet slightly larger, but will allow computation with very
262 false returns an exit code of FALSE (1).
268 Wrap text to fit a specific width.
274 head is used to print the first specified number of lines
277 config FEATURE_FANCY_HEAD
278 bool "Enable head options (-c, -q, and -v)"
282 This enables the head options (-c, -q, and -v).
288 hostid prints the numeric identifier (in hexadecimal) for
295 id displays the current user and group ID names.
301 Copy files and set attributes.
303 config FEATURE_INSTALL_LONG_OPTIONS
304 bool "Enable long options"
306 depends on INSTALL && GETOPT_LONG
308 Support long options for the install applet.
314 length is used to print out the length of a specified string.
320 ln is used to create hard or soft links between files.
326 logname is used to print the current user's login name.
332 ls is used to list the contents of directories.
334 config FEATURE_LS_FILETYPES
335 bool "Enable filetyping options (-p and -F)"
339 Enable the ls options (-p and -F).
341 config FEATURE_LS_FOLLOWLINKS
342 bool "Enable symlinks dereferencing (-L)"
346 Enable the ls option (-L).
348 config FEATURE_LS_RECURSIVE
349 bool "Enable recursion (-R)"
353 Enable the ls option (-R).
355 config FEATURE_LS_SORTFILES
356 bool "Sort the file names"
360 Allow ls to sort file names alphabetically.
362 config FEATURE_LS_TIMESTAMPS
363 bool "Show file timestamps"
367 Allow ls to display timestamps for files.
369 config FEATURE_LS_USERNAME
370 bool "Show username/groupnames"
374 Allow ls to display username/groupname for files.
376 config FEATURE_LS_COLOR
377 bool "Allow use of color to identify file types"
379 depends on LS && GETOPT_LONG
381 This enables the --color option to ls.
383 config FEATURE_LS_COLOR_IS_DEFAULT
384 bool "Produce colored ls output by default"
386 depends on FEATURE_LS_COLOR
388 Saying yes here will turn coloring on by default,
389 even if no "--color" option is given to the ls command.
390 This is not recommended, since the colors are not
391 configurable, and the output may not be legible on
398 md5sum is used to print or check MD5 checksums.
404 mkdir is used to create directories with the specified names.
406 config FEATURE_MKDIR_LONG_OPTIONS
407 bool "Enable long options"
409 depends on MKDIR && GETOPT_LONG
411 Support long options for the mkdir applet.
417 mkfifo is used to create FIFOs (named pipes).
418 The `mknod' program can also create FIFOs.
424 mknod is used to create FIFOs or block/character special
425 files with the specified names.
431 mv is used to move or rename files or directories.
433 config FEATURE_MV_LONG_OPTIONS
434 bool "Enable long options"
436 depends on MV && GETOPT_LONG
438 Support long options for the mv applet.
444 nice runs a program with modified scheduling priority.
450 run a command immune to hangups, with output to a non-tty.
456 od is used to dump binary files in octal and other formats.
462 printenv is used to print all or part of environment.
468 printf is used to format and print specified strings.
469 It's similar to `echo' except it has more options.
475 pwd is used to print the current directory.
481 Return the canonicalized absolute pathname.
482 This isn't provided by GNU shellutils, but where else does it belong.
488 rm is used to remove files or directories.
494 rmdir is used to remove empty directories.
500 print a sequence of numbers
506 Compute and check SHA1 message digest
509 bool "sleep (single integer arg with no suffix)"
512 sleep is used to pause for a specified number of seconds,
514 config FEATURE_FANCY_SLEEP
515 bool "Enable multiple integer args and optional time suffixes"
519 Allow sleep to pause for specified minutes, hours, and days.
525 sort is used to sort lines of text in specified files.
527 config FEATURE_SORT_BIG
528 bool "full SuSv3 compliant sort (Support -ktcsbdfiozgM)"
532 Without this, sort only supports -r, -u, and an integer version
533 of -n. Selecting this adds sort keys, floating point support, and
534 more. This adds a little over 3k to a nonstatic build on x86.
536 The SuSv3 sort standard is available at:
537 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
543 split a file into pieces.
545 config FEATURE_SPLIT_FANCY
546 bool "fancy extensions"
550 Add support for features not required by SUSv3.
551 Supports additional suffixes 'b' for 512 bytes,
552 'g' for 1GiB for the -b option.
558 display file or filesystem status.
560 config FEATURE_STAT_FORMAT
561 bool "Enable custom formats (-c)"
565 Without this, stat will not support the '-c format' option where
566 users can pass a custom format string for output. This adds about
567 7k to a nonstatic build on amd64.
573 stty is used to change and print terminal line settings.
579 checksum and count the blocks in a file
585 sync is used to flush filesystem buffers.
591 tail is used to print the last specified number of lines
594 config FEATURE_FANCY_TAIL
595 bool "Enable extra tail options (-q, -s, and -v)"
599 The options (-q, -s, and -v) are provided by GNU tail, but
600 are not specific in the SUSv3 standard.
606 tee is used to read from standard input and write
607 to standard output and files.
609 config FEATURE_TEE_USE_BLOCK_IO
610 bool "Enable block i/o (larger/faster) instead of byte i/o."
614 Enable this option for a faster tee, at expense of size.
620 test is used to check file types and compare values,
621 returning an appropriate exit code. The bash shell
622 has test built in, ash can build it in optionally.
624 config FEATURE_TEST_64
625 bool "Extend test to 64 bit"
629 Enable 64-bit support in test.
635 touch is used to create or change the access and/or
636 modification timestamp of specified files.
642 tr is used to squeeze, and/or delete characters from standard
643 input, writing to standard output.
645 config FEATURE_TR_CLASSES
646 bool "Enable character classes (such as [:upper:])"
650 Enable character classes, enabling commands such as:
651 tr [:upper:] [:lower:] to convert input into lowercase.
653 config FEATURE_TR_EQUIV
654 bool "Enable equivalence classes"
658 Enable equivalence classes, which essentially add the enclosed
659 character to the current set. For instance, tr [=a=] xyz would
660 replace all instances of 'a' with 'xyz'. This option is mainly
661 useful for cases when no other way of expressing a character
668 true returns an exit code of TRUE (0).
674 tty is used to print the name of the current terminal to
681 uname is used to print system information.
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.
712 watch is used to execute a program periodically, showing
713 output to the screen.
719 wc is used to print the number of bytes, words, and lines,
722 config FEATURE_WC_LARGE
723 bool "Support very large files in wc"
727 Use "unsigned long long" in wc for count variables
734 who is used to show who is logged on.
740 whoami is used to print the username of the current
741 user id (same as id -un).
747 yes is used to repeatedly output a specific string, or
748 the default string `y'.
750 comment "Common options for cp and mv"
753 config FEATURE_PRESERVE_HARDLINKS
754 bool "Preserve hard links"
758 Allow cp and mv to preserve hard links.
760 comment "Common options for ls, more and telnet"
761 depends on LS || MORE || TELNET
763 config FEATURE_AUTOWIDTH
764 bool "Calculate terminal & column widths"
766 depends on LS || MORE || TELNET
768 This option allows utilities such as 'ls', 'more' and 'telnet'
769 to determine the width of the screen, which can allow them to
770 display additional text or avoid wrapping text onto the next line.
771 If you leave this disabled, your utilities will be especially
772 primitive and will be unable to determine the current screen width.
774 comment "Common options for df, du, ls"
775 depends on DF || DU || LS
777 config FEATURE_HUMAN_READABLE
778 bool "Support for human readable output (example 13k, 23M, 235G)"
780 depends on DF || DU || LS
782 Allow df, du, and ls to have human readable output.
784 comment "Common options for md5sum, sha1sum"
785 depends on MD5SUM || SHA1SUM
787 config FEATURE_MD5_SHA1_SUM_CHECK
788 bool "Enable -c, -s and -w options"
790 depends on MD5SUM || SHA1SUM
792 Enabling the -c options allows files to be checked
793 against pre-calculated hash values.
795 -s and -w are useful options when verifying checksums.