- add a colorful "valid HTML 4.01 Transitional" button to be able to check the refere...
[oweals/busybox.git] / coreutils / Config.in
index f92cd0d311e14a5dd634696819a4c7bb7fad26e9..62c5c327d5dbdc0a1d853bba65654eb1c15653e6 100644 (file)
@@ -79,20 +79,12 @@ config CONFIG_CUT
          cut is used to print selected parts of lines from
          each file to stdout.
 
          cut is used to print selected parts of lines from
          each file to stdout.
 
-if CONFIG_WATCH
-       config CONFIG_DATE
-               default y
-       comment "date (forced enabled for use with watch)"
-endif
-
-if !CONFIG_WATCH
-    config CONFIG_DATE
-           bool "date"
-           default n
-           help
-             date is used to set the system date or display the
-             current time in the given format.
-endif
+config CONFIG_DATE
+       bool "date"
+       default n
+       help
+         date is used to set the system date or display the
+         current time in the given format.
 
 config CONFIG_FEATURE_DATE_ISOFMT
        bool "  Enable ISO date format output (-I)"
 
 config CONFIG_FEATURE_DATE_ISOFMT
        bool "  Enable ISO date format output (-I)"
@@ -117,6 +109,38 @@ config CONFIG_DF
          df reports the amount of disk space used and available
          on filesystems.
 
          df reports the amount of disk space used and available
          on filesystems.
 
+config CONFIG_DIFF
+       bool "diff"
+       default n
+       help
+         diff compares two files or directories and outputs the
+         differences between them in a form that can be given to
+         the patch command.
+
+config CONFIG_FEATURE_DIFF_BINARY
+       bool "  Enable checks for binary files"
+       default y
+       depends on CONFIG_DIFF
+       help
+         This option enables support for checking for binary files
+         before a comparison is carried out.
+
+config CONFIG_FEATURE_DIFF_DIR
+       bool "  Enable directory support"
+       default y
+       depends on CONFIG_DIFF
+       help
+         This option enables support for directory and subdirectory
+         comparison.
+
+config CONFIG_FEATURE_DIFF_MINIMAL
+       bool "  Enable -d option to find smaller sets of changes"
+       default n
+       depends on CONFIG_DIFF
+       help
+         Enabling this option allows the use of -d to make diff
+         try hard to find the smallest possible set of changes.
+
 config CONFIG_DIRNAME
        bool "dirname"
        default n
 config CONFIG_DIRNAME
        bool "dirname"
        default n
@@ -151,7 +175,7 @@ config CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K
          Use a blocksize of (1K) instead of the default 512b.
 
 config CONFIG_ECHO
          Use a blocksize of (1K) instead of the default 512b.
 
 config CONFIG_ECHO
-       bool "echo (basic SUSv3 version taking no options)"
+       bool "echo (basic SuSv3 version taking no options)"
        default n
        help
          echo is used to print a specified string to stdout.
        default n
        help
          echo is used to print a specified string to stdout.
@@ -172,12 +196,6 @@ config CONFIG_ENV
          a command; without options it displays the current
          environment.
 
          a command; without options it displays the current
          environment.
 
-config CONFIG_PRINTENV
-       bool "printenv"
-       default n
-       help
-         printenv is used to print all or part of environment.
-
 config CONFIG_EXPR
        bool "expr"
        default n
 config CONFIG_EXPR
        bool "expr"
        default n
@@ -185,19 +203,20 @@ config CONFIG_EXPR
          expr is used to calculate numbers and print the result
          to standard output.
 
          expr is used to calculate numbers and print the result
          to standard output.
 
-if CONFIG_HUSH || CONFIG_LASH || CONFIG_MSH
-       config CONFIG_FALSE
-               default y
-       comment "false (forced enabled for use with shell)"
-endif
+config CONFIG_EXPR_MATH_SUPPORT_64
+       bool "    Extend Posix numbers support to 64 bit"
+       default n
+       depends on CONFIG_EXPR
+       help
+         Enable 64-bit math support in the expr applet.  This will make
+         the applet slightly larger, but will allow computation with very
+         large numbers.
 
 
-if !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH
-    config CONFIG_FALSE
-           bool "false"
-           default n
-           help
-             false returns an exit code of FALSE (1).
-endif
+config CONFIG_FALSE
+       bool "false"
+       default n
+       help
+         false returns an exit code of FALSE (1).
 
 config CONFIG_FOLD
        bool "fold"
 
 config CONFIG_FOLD
        bool "fold"
@@ -311,17 +330,16 @@ config CONFIG_FEATURE_LS_COLOR
        help
          This enables the --color option to ls.
 
        help
          This enables the --color option to ls.
 
-if CONFIG_FEATURE_LS_COLOR
-    config CONFIG_FEATURE_LS_COLOR_IS_DEFAULT
-           bool "  Produce colored ls output by default"
-           default n
-           help
-             Saying yes here will turn coloring on by default,
-             even if no "--color" option is given to the ls command.
-             This is not recommended, since the colors are not
-             configurable, and the output may not be legible on
-             many output screens.
-endif
+config CONFIG_FEATURE_LS_COLOR_IS_DEFAULT
+       bool "  Produce colored ls output by default"
+       default n
+       depends on CONFIG_FEATURE_LS_COLOR
+       help
+         Saying yes here will turn coloring on by default,
+         even if no "--color" option is given to the ls command.
+         This is not recommended, since the colors are not
+         configurable, and the output may not be legible on
+         many output screens.
 
 config CONFIG_MD5SUM
        bool "md5sum"
 
 config CONFIG_MD5SUM
        bool "md5sum"
@@ -373,6 +391,12 @@ config CONFIG_OD
        help
          od is used to dump binary files in octal and other formats.
 
        help
          od is used to dump binary files in octal and other formats.
 
+config CONFIG_PRINTENV
+       bool "printenv"
+       default n
+       help
+         printenv is used to print all or part of environment.
+
 config CONFIG_PRINTF
        bool "printf"
        default n
 config CONFIG_PRINTF
        bool "printf"
        default n
@@ -436,7 +460,7 @@ config CONFIG_SORT
        help
          sort is used to sort lines of text in specified files.
 
        help
          sort is used to sort lines of text in specified files.
 
-config CONFIG_SORT_BIG
+config CONFIG_FEATURE_SORT_BIG
        bool "  full SuSv3 compliant sort (Support -ktcsbdfiozgM)"
        default y
        depends on CONFIG_SORT
        bool "  full SuSv3 compliant sort (Support -ktcsbdfiozgM)"
        default y
        depends on CONFIG_SORT
@@ -459,8 +483,8 @@ config CONFIG_FEATURE_STAT_FORMAT
        default n
        depends on CONFIG_STAT
        help
        default n
        depends on CONFIG_STAT
        help
-         Without this, stat will not support the '-c format' option where 
-         users can pass a custom format string for output.  This adds about 
+         Without this, stat will not support the '-c format' option where
+         users can pass a custom format string for output.  This adds about
          7k to a nonstatic build on amd64.
 
 config CONFIG_STTY
          7k to a nonstatic build on amd64.
 
 config CONFIG_STTY
@@ -510,21 +534,13 @@ config CONFIG_FEATURE_TEE_USE_BLOCK_IO
        help
          Enable this option for a faster tee, at expense of size.
 
        help
          Enable this option for a faster tee, at expense of size.
 
-if CONFIG_ASH || CONFIG_HUSH || CONFIG_LASH || CONFIG_MSH
-       config CONFIG_TEST
-               default y
-       comment "test (forced enabled for use with shell)"
-endif
-
-if !CONFIG_ASH && !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH
-    config CONFIG_TEST
-           bool "test"
-           default n
-           help
-             test is used to check file types and compare values,
-             returning an appropriate exit code. The shells (ash
-             and bash) have test builtin.
-endif
+config CONFIG_TEST
+       bool "test"
+       default n
+       help
+         test is used to check file types and compare values,
+         returning an appropriate exit code. The shells (ash
+         and bash) have test builtin.
 
 config CONFIG_FEATURE_TEST_64
        bool "  Extend test to 64 bit"
 
 config CONFIG_FEATURE_TEST_64
        bool "  Extend test to 64 bit"
@@ -547,20 +563,30 @@ config CONFIG_TR
          tr is used to squeeze, and/or delete characters from standard
          input, writing to standard output.
 
          tr is used to squeeze, and/or delete characters from standard
          input, writing to standard output.
 
-if CONFIG_HUSH || CONFIG_LASH || CONFIG_MSH
-       config CONFIG_TRUE
-               default y
-       comment "true (forced enabled for use with shell)"
-endif
+config CONFIG_FEATURE_TR_CLASSES
+       bool "  Enable character classes (such as [:upper:])"
+       default n
+       depends on CONFIG_TR
+       help
+         Enable character classes, enabling commands such as:
+         tr [:upper:] [:lower:] to convert input into lowercase.
 
 
-if !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH
-    config CONFIG_TRUE
-           bool "true"
-           default n
-           help
-             true returns an exit code of TRUE (0).
+config CONFIG_FEATURE_TR_EQUIV
+       bool "  Enable equivalence classes"
+       default n
+       depends on CONFIG_TR
+       help
+         Enable equivalence classes, which essentially add the enclosed
+         character to the current set. For instance, tr [=a=] xyz would
+         replace all instances of 'a' with 'xyz'. This option is mainly
+         useful for cases when no other way of expressing a character
+         is possible.
 
 
-endif
+config CONFIG_TRUE
+       bool "true"
+       default n
+       help
+         true returns an exit code of TRUE (0).
 
 config CONFIG_TTY
        bool "tty"
 
 config CONFIG_TTY
        bool "tty"
@@ -602,6 +628,7 @@ config CONFIG_UUENCODE
 config CONFIG_WATCH
        bool "watch"
        default n
 config CONFIG_WATCH
        bool "watch"
        default n
+       select CONFIG_DATE
        help
          watch is used to execute a program periodically, showing
          output to the screen.
        help
          watch is used to execute a program periodically, showing
          output to the screen.
@@ -635,7 +662,7 @@ config CONFIG_YES
          the default string `y'.
 
 comment "Common options for cp and mv"
          the default string `y'.
 
 comment "Common options for cp and mv"
-    depends on CONFIG_CP || CONFIG_MV
+       depends on CONFIG_CP || CONFIG_MV
 
 config CONFIG_FEATURE_PRESERVE_HARDLINKS
        bool "  Preserve hard links"
 
 config CONFIG_FEATURE_PRESERVE_HARDLINKS
        bool "  Preserve hard links"
@@ -644,22 +671,22 @@ config CONFIG_FEATURE_PRESERVE_HARDLINKS
        help
          Allow cp and mv to preserve hard links.
 
        help
          Allow cp and mv to preserve hard links.
 
-comment "Common options for ls and more"
-       depends on CONFIG_LS || CONFIG_MORE
+comment "Common options for ls, more and telnet"
+       depends on CONFIG_LS || CONFIG_MORE || CONFIG_TELNET
 
 config CONFIG_FEATURE_AUTOWIDTH
        bool "  Calculate terminal & column widths"
        default y
 
 config CONFIG_FEATURE_AUTOWIDTH
        bool "  Calculate terminal & column widths"
        default y
-       depends on CONFIG_LS || CONFIG_MORE
+       depends on CONFIG_LS || CONFIG_MORE || CONFIG_TELNET
        help
        help
-         This option allows utilities such as 'ls' and 'more' to determine the
-         width of the screen, which can allow them to display additional text
-         or avoid wrapping text onto the next line.  If you leave this
-         disabled, your utilities will be especially primitive and will be
-         unable to determine the current screen width.
+         This option allows utilities such as 'ls', 'more' and 'telnet'
+         to determine the width of the screen, which can allow them to 
+         display additional text or avoid wrapping text onto the next line.
+         If you leave this disabled, your utilities will be especially 
+         primitive and will be unable to determine the current screen width.
 
 comment "Common options for df, du, ls"
 
 comment "Common options for df, du, ls"
-    depends on CONFIG_DF || CONFIG_DU || CONFIG_LS
+       depends on CONFIG_DF || CONFIG_DU || CONFIG_LS
 
 config CONFIG_FEATURE_HUMAN_READABLE
        bool "  Support for human readable output (example 13k, 23M, 235G)"
 
 config CONFIG_FEATURE_HUMAN_READABLE
        bool "  Support for human readable output (example 13k, 23M, 235G)"
@@ -669,7 +696,7 @@ config CONFIG_FEATURE_HUMAN_READABLE
          Allow df, du, and ls to have human readable output.
 
 comment "Common options for md5sum, sha1sum"
          Allow df, du, and ls to have human readable output.
 
 comment "Common options for md5sum, sha1sum"
-    depends on CONFIG_MD5SUM || CONFIG_SHA1SUM
+       depends on CONFIG_MD5SUM || CONFIG_SHA1SUM
 
 config CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
        bool "  Enable -c, -s and -w options"
 
 config CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
        bool "  Enable -c, -s and -w options"