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.
81 config FEATURE_CP_LONG_OPTIONS
82 bool "Enable long options for cp"
84 depends on CP && LONG_OPTS
86 Enable long options for cp.
87 Also add support for --parents option.
93 cut is used to print selected parts of lines from
100 date is used to set the system date or display the
101 current time in the given format.
103 config FEATURE_DATE_ISOFMT
104 bool "Enable ISO date format output (-I)"
108 Enable option (-I) to output an ISO-8601 compliant
115 dd copies a file (from standard input to standard output,
116 by default) using specific input and output blocksizes,
117 while optionally performing conversions on it.
119 config FEATURE_DD_SIGNAL_HANDLING
120 bool "Enable DD signal handling for status reporting"
124 Sending a SIGUSR1 signal to a running `dd' process makes it
125 print to standard error the number of records read and written
126 so far, then to resume copying.
128 $ dd if=/dev/zero of=/dev/null&
129 $ pid=$! kill -USR1 $pid; sleep 1; kill $pid
130 10899206+0 records in
131 10899206+0 records out
133 config FEATURE_DD_THIRD_STATUS_LINE
134 bool "Enable the third status line upon signal"
136 depends on DD && FEATURE_DD_SIGNAL_HANDLING
138 Displays a coreutils-like third status line with transferred bytes,
139 elapsed time and speed.
141 config FEATURE_DD_IBS_OBS
142 bool "Enable ibs, obs and conv options"
146 Enables support for writing a certain number of bytes in and out,
147 at a time, and performing conversions on the data stream.
153 df reports the amount of disk space used and available
156 config FEATURE_DF_FANCY
157 bool "Enable -a, -i, -B"
161 This option enables -a, -i and -B.
167 dirname is used to strip a non-directory suffix from
171 bool "dos2unix/unix2dos"
174 dos2unix is used to convert a text file from DOS format to
175 UNIX format, and vice versa.
182 unix2dos is used to convert a text file from UNIX format to
183 DOS format, and vice versa.
186 bool "du (default blocksize of 512 bytes)"
189 du is used to report the amount of disk space used
192 config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
193 bool "Use a default blocksize of 1024 bytes (1K)"
197 Use a blocksize of (1K) instead of the default 512b.
200 bool "echo (basic SuSv3 version taking no options)"
203 echo is used to print a specified string to stdout.
205 # this entry also appears in shell/Config.in, next to the echo builtin
206 config FEATURE_FANCY_ECHO
207 bool "Enable echo options (-n and -e)"
209 depends on ECHO || ASH_BUILTIN_ECHO || HUSH
211 This adds options (-n and -e) to echo.
217 env is used to set an environment variable and run
218 a command; without options it displays the current
221 config FEATURE_ENV_LONG_OPTIONS
222 bool "Enable long options"
224 depends on ENV && LONG_OPTS
226 Support long options for the env applet.
232 By default, convert all tabs to spaces.
234 config FEATURE_EXPAND_LONG_OPTIONS
235 bool "Enable long options"
237 depends on EXPAND && LONG_OPTS
239 Support long options for the expand applet.
245 expr is used to calculate numbers and print the result
248 config EXPR_MATH_SUPPORT_64
249 bool "Extend Posix numbers support to 64 bit"
253 Enable 64-bit math support in the expr applet. This will make
254 the applet slightly larger, but will allow computation with very
261 false returns an exit code of FALSE (1).
267 Wrap text to fit a specific width.
273 fsync is used to flush file-related cached blocks to disk.
279 head is used to print the first specified number of lines
282 config FEATURE_FANCY_HEAD
283 bool "Enable head options (-c, -q, and -v)"
287 This enables the head options (-c, -q, and -v).
293 hostid prints the numeric identifier (in hexadecimal) for
300 id displays the current user and group ID names.
306 Copy files and set attributes.
308 config FEATURE_INSTALL_LONG_OPTIONS
309 bool "Enable long options"
311 depends on INSTALL && LONG_OPTS
313 Support long options for the install applet.
319 length is used to print out the length of a specified string.
325 ln is used to create hard or soft links between files.
331 logname is used to print the current user's login name.
337 ls is used to list the contents of directories.
339 config FEATURE_LS_FILETYPES
340 bool "Enable filetyping options (-p and -F)"
344 Enable the ls options (-p and -F).
346 config FEATURE_LS_FOLLOWLINKS
347 bool "Enable symlinks dereferencing (-L)"
351 Enable the ls option (-L).
353 config FEATURE_LS_RECURSIVE
354 bool "Enable recursion (-R)"
358 Enable the ls option (-R).
360 config FEATURE_LS_SORTFILES
361 bool "Sort the file names"
365 Allow ls to sort file names alphabetically.
367 config FEATURE_LS_TIMESTAMPS
368 bool "Show file timestamps"
372 Allow ls to display timestamps for files.
374 config FEATURE_LS_USERNAME
375 bool "Show username/groupnames"
379 Allow ls to display username/groupname for files.
381 config FEATURE_LS_COLOR
382 bool "Allow use of color to identify file types"
384 depends on LS && LONG_OPTS
386 This enables the --color option to ls.
388 config FEATURE_LS_COLOR_IS_DEFAULT
389 bool "Produce colored ls output by default"
391 depends on FEATURE_LS_COLOR
393 Saying yes here will turn coloring on by default,
394 even if no "--color" option is given to the ls command.
395 This is not recommended, since the colors are not
396 configurable, and the output may not be legible on
403 md5sum is used to print or check MD5 checksums.
409 mkdir is used to create directories with the specified names.
411 config FEATURE_MKDIR_LONG_OPTIONS
412 bool "Enable long options"
414 depends on MKDIR && LONG_OPTS
416 Support long options for the mkdir applet.
422 mkfifo is used to create FIFOs (named pipes).
423 The `mknod' program can also create FIFOs.
429 mknod is used to create FIFOs or block/character special
430 files with the specified names.
436 mv is used to move or rename files or directories.
438 config FEATURE_MV_LONG_OPTIONS
439 bool "Enable long options"
441 depends on MV && LONG_OPTS
443 Support long options for the mv applet.
449 nice runs a program with modified scheduling priority.
455 run a command immune to hangups, with output to a non-tty.
461 od is used to dump binary files in octal and other formats.
467 printenv is used to print all or part of environment.
473 printf is used to format and print specified strings.
474 It's similar to `echo' except it has more options.
480 pwd is used to print the current directory.
486 This program reads a symbolic link and returns the name
487 of the file it points to
489 config FEATURE_READLINK_FOLLOW
490 bool "Enable canonicalization by following all symlinks (-f)"
494 Enable the readlink option (-f).
500 Return the canonicalized absolute pathname.
501 This isn't provided by GNU shellutils, but where else does it belong.
507 rm is used to remove files or directories.
513 rmdir is used to remove empty directories.
515 config FEATURE_RMDIR_LONG_OPTIONS
516 bool "Enable long options"
518 depends on RMDIR && LONG_OPTS
520 Support long options for the rmdir applet, including
521 --ignore-fail-on-non-empty for compatibility with GNU rmdir.
527 print a sequence of numbers
533 Compute and check SHA1 message digest
539 Compute and check SHA256 message digest
545 Compute and check SHA512 message digest
551 sleep is used to pause for a specified number of seconds.
552 It comes in 3 versions:
553 - small: takes one integer parameter
554 - fancy: takes multiple integer arguments with suffixes:
556 - fancy with fractional numbers:
557 sleep 2.3s 4.5h sleeps for 16202.3 seconds
558 Last one is "the most compatible" with coreutils sleep,
559 but it adds around 1k of code.
561 config FEATURE_FANCY_SLEEP
562 bool "Enable multiple arguments and s/m/h/d suffixes"
566 Allow sleep to pause for specified minutes, hours, and days.
568 config FEATURE_FLOAT_SLEEP
569 bool "Enable fractional arguments"
571 depends on FEATURE_FANCY_SLEEP
573 Allow for fractional numeric parameters.
579 sort is used to sort lines of text in specified files.
581 config FEATURE_SORT_BIG
582 bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
586 Without this, sort only supports -r, -u, and an integer version
587 of -n. Selecting this adds sort keys, floating point support, and
588 more. This adds a little over 3k to a nonstatic build on x86.
590 The SuSv3 sort standard is available at:
591 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
597 split a file into pieces.
599 config FEATURE_SPLIT_FANCY
600 bool "Fancy extensions"
604 Add support for features not required by SUSv3.
605 Supports additional suffixes 'b' for 512 bytes,
606 'g' for 1GiB for the -b option.
612 display file or filesystem status.
614 config FEATURE_STAT_FORMAT
615 bool "Enable custom formats (-c)"
619 Without this, stat will not support the '-c format' option where
620 users can pass a custom format string for output. This adds about
621 7k to a nonstatic build on amd64.
627 stty is used to change and print terminal line settings.
633 checksum and count the blocks in a file
639 sync is used to flush filesystem buffers.
645 tac is used to concatenate and print files in reverse.
651 tail is used to print the last specified number of lines
654 config FEATURE_FANCY_TAIL
655 bool "Enable extra tail options (-q, -s, -v, and -F)"
659 The options (-q, -s, and -v) are provided by GNU tail, but
660 are not specific in the SUSv3 standard.
666 tee is used to read from standard input and write
667 to standard output and files.
669 config FEATURE_TEE_USE_BLOCK_IO
670 bool "Enable block I/O (larger/faster) instead of byte I/O"
674 Enable this option for a faster tee, at expense of size.
680 test is used to check file types and compare values,
681 returning an appropriate exit code. The bash shell
682 has test built in, ash can build it in optionally.
684 config FEATURE_TEST_64
685 bool "Extend test to 64 bit"
687 depends on TEST || ASH_BUILTIN_TEST || HUSH
689 Enable 64-bit support in test.
695 touch is used to create or change the access and/or
696 modification timestamp of specified files.
702 tr is used to squeeze, and/or delete characters from standard
703 input, writing to standard output.
705 config FEATURE_TR_CLASSES
706 bool "Enable character classes (such as [:upper:])"
710 Enable character classes, enabling commands such as:
711 tr [:upper:] [:lower:] to convert input into lowercase.
713 config FEATURE_TR_EQUIV
714 bool "Enable equivalence classes"
718 Enable equivalence classes, which essentially add the enclosed
719 character to the current set. For instance, tr [=a=] xyz would
720 replace all instances of 'a' with 'xyz'. This option is mainly
721 useful for cases when no other way of expressing a character
728 true returns an exit code of TRUE (0).
734 tty is used to print the name of the current terminal to
741 uname is used to print system information.
747 By default, convert only leading sequences of blanks to tabs.
749 config FEATURE_UNEXPAND_LONG_OPTIONS
750 bool "Enable long options"
752 depends on UNEXPAND && LONG_OPTS
754 Support long options for the unexpand applet.
760 uniq is used to remove duplicate lines from a sorted file.
766 usleep is used to pause for a specified number of microseconds.
772 uudecode is used to decode a uuencoded file.
778 uuencode is used to uuencode a file.
784 wc is used to print the number of bytes, words, and lines,
787 config FEATURE_WC_LARGE
788 bool "Support very large files in wc"
792 Use "unsigned long long" in wc for counter variables.
799 who is used to show who is logged on.
805 whoami is used to print the username of the current
806 user id (same as id -un).
812 yes is used to repeatedly output a specific string, or
813 the default string `y'.
815 comment "Common options for cp and mv"
818 config FEATURE_PRESERVE_HARDLINKS
819 bool "Preserve hard links"
823 Allow cp and mv to preserve hard links.
825 comment "Common options for ls, more and telnet"
826 depends on LS || MORE || TELNET
828 config FEATURE_AUTOWIDTH
829 bool "Calculate terminal & column widths"
831 depends on LS || MORE || TELNET
833 This option allows utilities such as 'ls', 'more' and 'telnet'
834 to determine the width of the screen, which can allow them to
835 display additional text or avoid wrapping text onto the next line.
836 If you leave this disabled, your utilities will be especially
837 primitive and will be unable to determine the current screen width.
839 comment "Common options for df, du, ls"
840 depends on DF || DU || LS
842 config FEATURE_HUMAN_READABLE
843 bool "Support for human readable output (example 13k, 23M, 235G)"
845 depends on DF || DU || LS
847 Allow df, du, and ls to have human readable output.
849 comment "Common options for md5sum, sha1sum"
850 depends on MD5SUM || SHA1SUM
852 config FEATURE_MD5_SHA1_SUM_CHECK
853 bool "Enable -c, -s and -w options"
855 depends on MD5SUM || SHA1SUM
857 Enabling the -c options allows files to be checked
858 against pre-calculated hash values.
860 -s and -w are useful options when verifying checksums.