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 comm is used to compare two files line by line and return
73 a three-column output.
79 cp is used to copy files and directories.
85 cut is used to print selected parts of lines from
92 date is used to set the system date or display the
93 current time in the given format.
95 config FEATURE_DATE_ISOFMT
96 bool "Enable ISO date format output (-I)"
100 Enable option (-I) to output an ISO-8601 compliant
107 dd copies a file (from standard input to standard output,
108 by default) using specific input and output blocksizes,
109 while optionally performing conversions on it.
111 config FEATURE_DD_SIGNAL_HANDLING
112 bool "Enable DD signal handling for status reporting"
116 sending a SIGUSR1 signal to a running `dd' process makes it
117 print to standard error the number of records read and written
118 so far, then to resume copying.
120 $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid
121 10899206+0 records in 10899206+0 records out
123 config FEATURE_DD_IBS_OBS
124 bool "Enable ibs, obs and conv options"
128 Enables support for writing a certain number of bytes in and out,
129 at a time, and performing conversions on the data stream.
135 df reports the amount of disk space used and available
138 config FEATURE_DF_INODE
139 bool "Enable -i (inode information)"
143 This option enables support for df -i.
149 dirname is used to strip a non-directory suffix from
153 bool "dos2unix/unix2dos"
156 dos2unix is used to convert a text file from DOS format to
157 UNIX format, and vice versa.
164 unix2dos is used to convert a text file from UNIX format to
165 DOS format, and vice versa.
168 bool "du (default blocksize of 512 bytes)"
171 du is used to report the amount of disk space used
174 config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
175 bool "Use a default blocksize of 1024 bytes (1K)"
179 Use a blocksize of (1K) instead of the default 512b.
182 bool "echo (basic SuSv3 version taking no options)"
185 echo is used to print a specified string to stdout.
187 # this entry also appears in shell/Config.in, next to the echo builtin
188 config FEATURE_FANCY_ECHO
189 bool "Enable echo options (-n and -e)"
193 This adds options (-n and -e) to echo.
199 env is used to set an environment variable and run
200 a command; without options it displays the current
203 config FEATURE_ENV_LONG_OPTIONS
204 bool "Enable long options"
206 depends on ENV && GETOPT_LONG
208 Support long options for the env applet.
214 By default, convert all tabs to spaces.
216 config FEATURE_EXPAND_LONG_OPTIONS
217 bool "Enable long options"
219 depends on EXPAND && GETOPT_LONG
221 Support long options for the expand applet.
227 expr is used to calculate numbers and print the result
230 config EXPR_MATH_SUPPORT_64
231 bool "Extend Posix numbers support to 64 bit"
235 Enable 64-bit math support in the expr applet. This will make
236 the applet slightly larger, but will allow computation with very
243 false returns an exit code of FALSE (1).
249 Wrap text to fit a specific width.
255 head is used to print the first specified number of lines
258 config FEATURE_FANCY_HEAD
259 bool "Enable head options (-c, -q, and -v)"
263 This enables the head options (-c, -q, and -v).
269 hostid prints the numeric identifier (in hexadecimal) for
276 id displays the current user and group ID names.
282 Copy files and set attributes.
284 config FEATURE_INSTALL_LONG_OPTIONS
285 bool "Enable long options"
287 depends on INSTALL && GETOPT_LONG
289 Support long options for the install applet.
295 length is used to print out the length of a specified string.
301 ln is used to create hard or soft links between files.
307 logname is used to print the current user's login name.
313 ls is used to list the contents of directories.
315 config FEATURE_LS_FILETYPES
316 bool "Enable filetyping options (-p and -F)"
320 Enable the ls options (-p and -F).
322 config FEATURE_LS_FOLLOWLINKS
323 bool "Enable symlinks dereferencing (-L)"
327 Enable the ls option (-L).
329 config FEATURE_LS_RECURSIVE
330 bool "Enable recursion (-R)"
334 Enable the ls option (-R).
336 config FEATURE_LS_SORTFILES
337 bool "Sort the file names"
341 Allow ls to sort file names alphabetically.
343 config FEATURE_LS_TIMESTAMPS
344 bool "Show file timestamps"
348 Allow ls to display timestamps for files.
350 config FEATURE_LS_USERNAME
351 bool "Show username/groupnames"
355 Allow ls to display username/groupname for files.
357 config FEATURE_LS_COLOR
358 bool "Allow use of color to identify file types"
360 depends on LS && GETOPT_LONG
362 This enables the --color option to ls.
364 config FEATURE_LS_COLOR_IS_DEFAULT
365 bool "Produce colored ls output by default"
367 depends on FEATURE_LS_COLOR
369 Saying yes here will turn coloring on by default,
370 even if no "--color" option is given to the ls command.
371 This is not recommended, since the colors are not
372 configurable, and the output may not be legible on
379 md5sum is used to print or check MD5 checksums.
385 mkdir is used to create directories with the specified names.
387 config FEATURE_MKDIR_LONG_OPTIONS
388 bool "Enable long options"
390 depends on MKDIR && GETOPT_LONG
392 Support long options for the mkdir applet.
398 mkfifo is used to create FIFOs (named pipes).
399 The `mknod' program can also create FIFOs.
405 mknod is used to create FIFOs or block/character special
406 files with the specified names.
412 mv is used to move or rename files or directories.
414 config FEATURE_MV_LONG_OPTIONS
415 bool "Enable long options"
417 depends on MV && GETOPT_LONG
419 Support long options for the mv applet.
425 nice runs a program with modified scheduling priority.
431 run a command immune to hangups, with output to a non-tty.
437 od is used to dump binary files in octal and other formats.
443 printenv is used to print all or part of environment.
449 printf is used to format and print specified strings.
450 It's similar to `echo' except it has more options.
456 pwd is used to print the current directory.
462 This program reads a symbolic link and returns the name
463 of the file it points to
465 config FEATURE_READLINK_FOLLOW
466 bool "Enable canonicalization by following all symlinks (-f)"
470 Enable the readlink option (-f).
476 Return the canonicalized absolute pathname.
477 This isn't provided by GNU shellutils, but where else does it belong.
483 rm is used to remove files or directories.
489 rmdir is used to remove empty directories.
491 config FEATURE_RMDIR_LONG_OPTIONS
492 bool "Enable long options"
494 depends on RMDIR && GETOPT_LONG
496 Support long options for the rmdir applet, including
497 --ignore-fail-on-non-empty for compatibility with GNU rmdir.
503 print a sequence of numbers
509 Compute and check SHA1 message digest
515 sleep is used to pause for a specified number of seconds.
516 It comes in 3 versions:
517 - small: takes one integer parameter
518 - fancy: takes multiple integer arguments with suffixes:
520 - fancy with fractional numbers:
521 sleep 2.3s 4.5h sleeps for 16202.3 seconds
522 Last one is "the most compatible" with coreutils sleep,
523 but it adds around 1k of code.
525 config FEATURE_FANCY_SLEEP
526 bool "Enable multiple arguments and s/m/h/d suffixes"
530 Allow sleep to pause for specified minutes, hours, and days.
532 config FEATURE_FLOAT_SLEEP
533 bool "Enable fractional arguments"
535 depends on FEATURE_FANCY_SLEEP
537 Allow for fractional numeric parameters.
543 sort is used to sort lines of text in specified files.
545 config FEATURE_SORT_BIG
546 bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
550 Without this, sort only supports -r, -u, and an integer version
551 of -n. Selecting this adds sort keys, floating point support, and
552 more. This adds a little over 3k to a nonstatic build on x86.
554 The SuSv3 sort standard is available at:
555 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
561 split a file into pieces.
563 config FEATURE_SPLIT_FANCY
564 bool "Fancy extensions"
568 Add support for features not required by SUSv3.
569 Supports additional suffixes 'b' for 512 bytes,
570 'g' for 1GiB for the -b option.
576 display file or filesystem status.
578 config FEATURE_STAT_FORMAT
579 bool "Enable custom formats (-c)"
583 Without this, stat will not support the '-c format' option where
584 users can pass a custom format string for output. This adds about
585 7k to a nonstatic build on amd64.
591 stty is used to change and print terminal line settings.
597 checksum and count the blocks in a file
603 sync is used to flush filesystem buffers.
609 tac is used to concatenate and print files in reverse.
615 tail is used to print the last specified number of lines
618 config FEATURE_FANCY_TAIL
619 bool "Enable extra tail options (-q, -s, and -v)"
623 The options (-q, -s, and -v) are provided by GNU tail, but
624 are not specific in the SUSv3 standard.
630 tee is used to read from standard input and write
631 to standard output and files.
633 config FEATURE_TEE_USE_BLOCK_IO
634 bool "Enable block I/O (larger/faster) instead of byte I/O"
638 Enable this option for a faster tee, at expense of size.
644 test is used to check file types and compare values,
645 returning an appropriate exit code. The bash shell
646 has test built in, ash can build it in optionally.
648 config FEATURE_TEST_64
649 bool "Extend test to 64 bit"
653 Enable 64-bit support in test.
659 touch is used to create or change the access and/or
660 modification timestamp of specified files.
666 tr is used to squeeze, and/or delete characters from standard
667 input, writing to standard output.
669 config FEATURE_TR_CLASSES
670 bool "Enable character classes (such as [:upper:])"
674 Enable character classes, enabling commands such as:
675 tr [:upper:] [:lower:] to convert input into lowercase.
677 config FEATURE_TR_EQUIV
678 bool "Enable equivalence classes"
682 Enable equivalence classes, which essentially add the enclosed
683 character to the current set. For instance, tr [=a=] xyz would
684 replace all instances of 'a' with 'xyz'. This option is mainly
685 useful for cases when no other way of expressing a character
692 true returns an exit code of TRUE (0).
698 tty is used to print the name of the current terminal to
705 uname is used to print system information.
711 By default, convert only leading sequences of blanks to tabs.
713 config FEATURE_UNEXPAND_LONG_OPTIONS
714 bool "Enable long options"
716 depends on UNEXPAND && GETOPT_LONG
718 Support long options for the unexpand applet.
724 uniq is used to remove duplicate lines from a sorted file.
730 usleep is used to pause for a specified number of microseconds.
736 uudecode is used to decode a uuencoded file.
742 uuencode is used to uuencode a file.
748 wc is used to print the number of bytes, words, and lines,
751 config FEATURE_WC_LARGE
752 bool "Support very large files in wc"
756 Use "unsigned long long" in wc for count variables
763 who is used to show who is logged on.
769 whoami is used to print the username of the current
770 user id (same as id -un).
776 yes is used to repeatedly output a specific string, or
777 the default string `y'.
779 comment "Common options for cp and mv"
782 config FEATURE_PRESERVE_HARDLINKS
783 bool "Preserve hard links"
787 Allow cp and mv to preserve hard links.
789 comment "Common options for ls, more and telnet"
790 depends on LS || MORE || TELNET
792 config FEATURE_AUTOWIDTH
793 bool "Calculate terminal & column widths"
795 depends on LS || MORE || TELNET
797 This option allows utilities such as 'ls', 'more' and 'telnet'
798 to determine the width of the screen, which can allow them to
799 display additional text or avoid wrapping text onto the next line.
800 If you leave this disabled, your utilities will be especially
801 primitive and will be unable to determine the current screen width.
803 comment "Common options for df, du, ls"
804 depends on DF || DU || LS
806 config FEATURE_HUMAN_READABLE
807 bool "Support for human readable output (example 13k, 23M, 235G)"
809 depends on DF || DU || LS
811 Allow df, du, and ls to have human readable output.
813 comment "Common options for md5sum, sha1sum"
814 depends on MD5SUM || SHA1SUM
816 config FEATURE_MD5_SHA1_SUM_CHECK
817 bool "Enable -c, -s and -w options"
819 depends on MD5SUM || SHA1SUM
821 Enabling the -c options allows files to be checked
822 against pre-calculated hash values.
824 -s and -w are useful options when verifying checksums.