hust testsuite: fix a false positive
[oweals/busybox.git] / coreutils / Config.src
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 menu "Coreutils"
7
8 INSERT
9
10 config CAL
11         bool "cal"
12         default y
13         help
14           cal is used to display a monthly calendar.
15
16 config CATV
17         bool "catv"
18         default y
19         help
20           Display nonprinting characters as escape sequences (like some
21           implementations' cat -v option).
22
23 config CHGRP
24         bool "chgrp"
25         default y
26         help
27           chgrp is used to change the group ownership of files.
28
29 config CHMOD
30         bool "chmod"
31         default y
32         help
33           chmod is used to change the access permission of files.
34
35 config CHOWN
36         bool "chown"
37         default y
38         help
39           chown is used to change the user and/or group ownership
40           of files.
41
42 config FEATURE_CHOWN_LONG_OPTIONS
43         bool "Enable long options"
44         default y
45         depends on CHOWN && LONG_OPTS
46         help
47           Enable use of long options
48
49 config CHROOT
50         bool "chroot"
51         default y
52         help
53           chroot is used to change the root directory and run a command.
54           The default command is `/bin/sh'.
55
56 config CKSUM
57         bool "cksum"
58         default y
59         help
60           cksum is used to calculate the CRC32 checksum of a file.
61
62 config COMM
63         bool "comm"
64         default y
65         help
66           comm is used to compare two files line by line and return
67           a three-column output.
68
69 config CP
70         bool "cp"
71         default y
72         help
73           cp is used to copy files and directories.
74
75 config FEATURE_CP_LONG_OPTIONS
76         bool "Enable long options for cp"
77         default y
78         depends on CP && LONG_OPTS
79         help
80           Enable long options for cp.
81           Also add support for --parents option.
82
83 config CUT
84         bool "cut"
85         default y
86         help
87           cut is used to print selected parts of lines from
88           each file to stdout.
89
90 config DF
91         bool "df"
92         default y
93         help
94           df reports the amount of disk space used and available
95           on filesystems.
96
97 config FEATURE_DF_FANCY
98         bool "Enable -a, -i, -B"
99         default y
100         depends on DF
101         help
102           This option enables -a, -i and -B.
103
104             -a Show all filesystems
105             -i Inodes
106             -B <SIZE> Blocksize
107
108 config DIRNAME
109         bool "dirname"
110         default y
111         help
112           dirname is used to strip a non-directory suffix from
113           a file name.
114
115 config DOS2UNIX
116         bool "dos2unix/unix2dos"
117         default y
118         help
119           dos2unix is used to convert a text file from DOS format to
120           UNIX format, and vice versa.
121
122 config UNIX2DOS
123         bool
124         default y
125         depends on DOS2UNIX
126         help
127           unix2dos is used to convert a text file from UNIX format to
128           DOS format, and vice versa.
129
130 config DU
131         bool "du (default blocksize of 512 bytes)"
132         default y
133         help
134           du is used to report the amount of disk space used
135           for specified files.
136
137 config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
138         bool "Use a default blocksize of 1024 bytes (1K)"
139         default y
140         depends on DU
141         help
142           Use a blocksize of (1K) instead of the default 512b.
143
144 config ECHO
145         bool "echo (basic SuSv3 version taking no options)"
146         default y
147         help
148           echo is used to print a specified string to stdout.
149
150 # this entry also appears in shell/Config.in, next to the echo builtin
151 config FEATURE_FANCY_ECHO
152         bool "Enable echo options (-n and -e)"
153         default y
154         depends on ECHO || ASH_BUILTIN_ECHO || HUSH
155         help
156           This adds options (-n and -e) to echo.
157
158 config ENV
159         bool "env"
160         default y
161         help
162           env is used to set an environment variable and run
163           a command; without options it displays the current
164           environment.
165
166 config FEATURE_ENV_LONG_OPTIONS
167         bool "Enable long options"
168         default y
169         depends on ENV && LONG_OPTS
170         help
171           Support long options for the env applet.
172
173 config EXPAND
174         bool "expand"
175         default y
176         help
177           By default, convert all tabs to spaces.
178
179 config FEATURE_EXPAND_LONG_OPTIONS
180         bool "Enable long options"
181         default y
182         depends on EXPAND && LONG_OPTS
183         help
184           Support long options for the expand applet.
185
186 config EXPR
187         bool "expr"
188         default y
189         help
190           expr is used to calculate numbers and print the result
191           to standard output.
192
193 config EXPR_MATH_SUPPORT_64
194         bool "Extend Posix numbers support to 64 bit"
195         default y
196         depends on EXPR
197         help
198           Enable 64-bit math support in the expr applet. This will make
199           the applet slightly larger, but will allow computation with very
200           large numbers.
201
202 config FALSE
203         bool "false"
204         default y
205         help
206           false returns an exit code of FALSE (1).
207
208 config FOLD
209         bool "fold"
210         default y
211         help
212           Wrap text to fit a specific width.
213
214 config FSYNC
215         bool "fsync"
216         default y
217         help
218           fsync is used to flush file-related cached blocks to disk.
219
220 config HEAD
221         bool "head"
222         default y
223         help
224           head is used to print the first specified number of lines
225           from files.
226
227 config FEATURE_FANCY_HEAD
228         bool "Enable head options (-c, -q, and -v)"
229         default y
230         depends on HEAD
231         help
232           This enables the head options (-c, -q, and -v).
233
234 config INSTALL
235         bool "install"
236         default y
237         help
238           Copy files and set attributes.
239
240 config FEATURE_INSTALL_LONG_OPTIONS
241         bool "Enable long options"
242         default y
243         depends on INSTALL && LONG_OPTS
244         help
245           Support long options for the install applet.
246
247 ####config LENGTH
248 ####    bool "length"
249 ####    default y
250 ####    help
251 ####      length is used to print out the length of a specified string.
252
253 config LN
254         bool "ln"
255         default y
256         help
257           ln is used to create hard or soft links between files.
258
259 config LOGNAME
260         bool "logname"
261         default y
262         help
263           logname is used to print the current user's login name.
264
265 config LS
266         bool "ls"
267         default y
268         help
269           ls is used to list the contents of directories.
270
271 config FEATURE_LS_FILETYPES
272         bool "Enable filetyping options (-p and -F)"
273         default y
274         depends on LS
275         help
276           Enable the ls options (-p and -F).
277
278 config FEATURE_LS_FOLLOWLINKS
279         bool "Enable symlinks dereferencing (-L)"
280         default y
281         depends on LS
282         help
283           Enable the ls option (-L).
284
285 config FEATURE_LS_RECURSIVE
286         bool "Enable recursion (-R)"
287         default y
288         depends on LS
289         help
290           Enable the ls option (-R).
291
292 config FEATURE_LS_SORTFILES
293         bool "Sort the file names"
294         default y
295         depends on LS
296         help
297           Allow ls to sort file names alphabetically.
298
299 config FEATURE_LS_TIMESTAMPS
300         bool "Show file timestamps"
301         default y
302         depends on LS
303         help
304           Allow ls to display timestamps for files.
305
306 config FEATURE_LS_USERNAME
307         bool "Show username/groupnames"
308         default y
309         depends on LS
310         help
311           Allow ls to display username/groupname for files.
312
313 config FEATURE_LS_COLOR
314         bool "Allow use of color to identify file types"
315         default y
316         depends on LS && LONG_OPTS
317         help
318           This enables the --color option to ls.
319
320 config FEATURE_LS_COLOR_IS_DEFAULT
321         bool "Produce colored ls output by default"
322         default y
323         depends on FEATURE_LS_COLOR
324         help
325           Saying yes here will turn coloring on by default,
326           even if no "--color" option is given to the ls command.
327           This is not recommended, since the colors are not
328           configurable, and the output may not be legible on
329           many output screens.
330
331 config MKDIR
332         bool "mkdir"
333         default y
334         help
335           mkdir is used to create directories with the specified names.
336
337 config FEATURE_MKDIR_LONG_OPTIONS
338         bool "Enable long options"
339         default y
340         depends on MKDIR && LONG_OPTS
341         help
342           Support long options for the mkdir applet.
343
344 config MKFIFO
345         bool "mkfifo"
346         default y
347         help
348           mkfifo is used to create FIFOs (named pipes).
349           The `mknod' program can also create FIFOs.
350
351 config MKNOD
352         bool "mknod"
353         default y
354         help
355           mknod is used to create FIFOs or block/character special
356           files with the specified names.
357
358 config MV
359         bool "mv"
360         default y
361         help
362           mv is used to move or rename files or directories.
363
364 config FEATURE_MV_LONG_OPTIONS
365         bool "Enable long options"
366         default y
367         depends on MV && LONG_OPTS
368         help
369           Support long options for the mv applet.
370
371 config NICE
372         bool "nice"
373         default y
374         help
375           nice runs a program with modified scheduling priority.
376
377 config NOHUP
378         bool "nohup"
379         default y
380         help
381           run a command immune to hangups, with output to a non-tty.
382
383 config OD
384         bool "od"
385         default y
386         help
387           od is used to dump binary files in octal and other formats.
388
389 config PRINTENV
390         bool "printenv"
391         default y
392         help
393           printenv is used to print all or part of environment.
394
395 config PRINTF
396         bool "printf"
397         default y
398         help
399           printf is used to format and print specified strings.
400           It's similar to `echo' except it has more options.
401
402 config PWD
403         bool "pwd"
404         default y
405         help
406           pwd is used to print the current directory.
407
408 config READLINK
409         bool "readlink"
410         default y
411         help
412           This program reads a symbolic link and returns the name
413           of the file it points to
414
415 config FEATURE_READLINK_FOLLOW
416         bool "Enable canonicalization by following all symlinks (-f)"
417         default y
418         depends on READLINK
419         help
420           Enable the readlink option (-f).
421
422 config REALPATH
423         bool "realpath"
424         default y
425         help
426           Return the canonicalized absolute pathname.
427           This isn't provided by GNU shellutils, but where else does it belong.
428
429 config RM
430         bool "rm"
431         default y
432         help
433           rm is used to remove files or directories.
434
435 config RMDIR
436         bool "rmdir"
437         default y
438         help
439           rmdir is used to remove empty directories.
440
441 config FEATURE_RMDIR_LONG_OPTIONS
442         bool "Enable long options"
443         default y
444         depends on RMDIR && LONG_OPTS
445         help
446           Support long options for the rmdir applet, including
447           --ignore-fail-on-non-empty for compatibility with GNU rmdir.
448
449 config SEQ
450         bool "seq"
451         default y
452         help
453           print a sequence of numbers
454
455 config SLEEP
456         bool "sleep"
457         default y
458         help
459           sleep is used to pause for a specified number of seconds.
460           It comes in 3 versions:
461           - small: takes one integer parameter
462           - fancy: takes multiple integer arguments with suffixes:
463             sleep 1d 2h 3m 15s
464           - fancy with fractional numbers:
465             sleep 2.3s 4.5h sleeps for 16202.3 seconds
466           Last one is "the most compatible" with coreutils sleep,
467           but it adds around 1k of code.
468
469 config FEATURE_FANCY_SLEEP
470         bool "Enable multiple arguments and s/m/h/d suffixes"
471         default y
472         depends on SLEEP
473         help
474           Allow sleep to pause for specified minutes, hours, and days.
475
476 config FEATURE_FLOAT_SLEEP
477         bool "Enable fractional arguments"
478         default y
479         depends on FEATURE_FANCY_SLEEP
480         help
481           Allow for fractional numeric parameters.
482
483 config SORT
484         bool "sort"
485         default y
486         help
487           sort is used to sort lines of text in specified files.
488
489 config FEATURE_SORT_BIG
490         bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
491         default y
492         depends on SORT
493         help
494           Without this, sort only supports -r, -u, and an integer version
495           of -n. Selecting this adds sort keys, floating point support, and
496           more. This adds a little over 3k to a nonstatic build on x86.
497
498           The SuSv3 sort standard is available at:
499           http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
500
501 config SPLIT
502         bool "split"
503         default y
504         help
505           split a file into pieces.
506
507 config FEATURE_SPLIT_FANCY
508         bool "Fancy extensions"
509         default y
510         depends on SPLIT
511         help
512           Add support for features not required by SUSv3.
513           Supports additional suffixes 'b' for 512 bytes,
514           'g' for 1GiB for the -b option.
515
516 config STTY
517         bool "stty"
518         default y
519         help
520           stty is used to change and print terminal line settings.
521
522 config SUM
523         bool "sum"
524         default y
525         help
526           checksum and count the blocks in a file
527
528 config TAC
529         bool "tac"
530         default y
531         help
532           tac is used to concatenate and print files in reverse.
533
534 config TAIL
535         bool "tail"
536         default y
537         help
538           tail is used to print the last specified number of lines
539           from files.
540
541 config FEATURE_FANCY_TAIL
542         bool "Enable extra tail options (-q, -s, -v, and -F)"
543         default y
544         depends on TAIL
545         help
546           The options (-q, -s, -v and -F) are provided by GNU tail, but
547           are not specific in the SUSv3 standard.
548
549             -q      Never output headers giving file names
550             -s SEC  Wait SEC seconds between reads with -f
551             -v      Always output headers giving file names
552             -F      Same as -f, but keep retrying
553
554 config TEE
555         bool "tee"
556         default y
557         help
558           tee is used to read from standard input and write
559           to standard output and files.
560
561 config FEATURE_TEE_USE_BLOCK_IO
562         bool "Enable block I/O (larger/faster) instead of byte I/O"
563         default y
564         depends on TEE
565         help
566           Enable this option for a faster tee, at expense of size.
567
568 config TRUE
569         bool "true"
570         default y
571         help
572           true returns an exit code of TRUE (0).
573
574 config TTY
575         bool "tty"
576         default y
577         help
578           tty is used to print the name of the current terminal to
579           standard output.
580
581 config UNAME
582         bool "uname"
583         default y
584         help
585           uname is used to print system information.
586
587 config UNAME_OSNAME
588         string "Operating system name"
589         default "GNU/Linux"
590         depends on UNAME
591         help
592           Sets the operating system name reported by uname -o.  The
593           default is "GNU/Linux".
594
595 config UNEXPAND
596         bool "unexpand"
597         default y
598         help
599           By default, convert only leading sequences of blanks to tabs.
600
601 config FEATURE_UNEXPAND_LONG_OPTIONS
602         bool "Enable long options"
603         default y
604         depends on UNEXPAND && LONG_OPTS
605         help
606           Support long options for the unexpand applet.
607
608 config UNIQ
609         bool "uniq"
610         default y
611         help
612           uniq is used to remove duplicate lines from a sorted file.
613
614 config USLEEP
615         bool "usleep"
616         default y
617         help
618           usleep is used to pause for a specified number of microseconds.
619
620 config UUDECODE
621         bool "uudecode"
622         default y
623         help
624           uudecode is used to decode a uuencoded file.
625
626 config UUENCODE
627         bool "uuencode"
628         default y
629         help
630           uuencode is used to uuencode a file.
631
632 config WC
633         bool "wc"
634         default y
635         help
636           wc is used to print the number of bytes, words, and lines,
637           in specified files.
638
639 config FEATURE_WC_LARGE
640         bool "Support very large files in wc"
641         default y
642         depends on WC
643         help
644           Use "unsigned long long" in wc for counter variables.
645
646 config WHOAMI
647         bool "whoami"
648         default y
649         help
650           whoami is used to print the username of the current
651           user id (same as id -un).
652
653 config YES
654         bool "yes"
655         default y
656         help
657           yes is used to repeatedly output a specific string, or
658           the default string `y'.
659
660 comment "Common options"
661
662 config FEATURE_VERBOSE
663         bool "Support verbose options (usually -v) for various applets"
664         default y
665         help
666           Enable cp -v, rm -v and similar messages.
667           Also enables long option (--verbose) if it exists.
668           Without this option, -v is accepted but ignored.
669
670 comment "Common options for cp and mv"
671         depends on CP || MV
672
673 config FEATURE_PRESERVE_HARDLINKS
674         bool "Preserve hard links"
675         default y
676         depends on CP || MV
677         help
678           Allow cp and mv to preserve hard links.
679
680 comment "Common options for ls, more and telnet"
681         depends on LS || MORE || TELNET
682
683 config FEATURE_AUTOWIDTH
684         bool "Calculate terminal & column widths"
685         default y
686         depends on LS || MORE || TELNET
687         help
688           This option allows utilities such as 'ls', 'more' and 'telnet'
689           to determine the width of the screen, which can allow them to
690           display additional text or avoid wrapping text onto the next line.
691           If you leave this disabled, your utilities will be especially
692           primitive and will be unable to determine the current screen width.
693
694 comment "Common options for df, du, ls"
695         depends on DF || DU || LS
696
697 config FEATURE_HUMAN_READABLE
698         bool "Support for human readable output (example 13k, 23M, 235G)"
699         default y
700         depends on DF || DU || LS
701         help
702           Allow df, du, and ls to have human readable output.
703
704 endmenu