c4ef1f4fb71320378e0e9e447a10c8f2aba8bb1e
[openwrt/openwrt.git] / package / utils / busybox / config / coreutils / Config.in
1 # DO NOT EDIT. This file is generated from Config.src
2 #
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
5 #
6
7 menu "Coreutils"
8
9 config BUSYBOX_CONFIG_BASENAME
10 bool "basename"
11 default BUSYBOX_DEFAULT_BASENAME
12 help
13 basename is used to strip the directory and suffix from filenames,
14 leaving just the filename itself. Enable this option if you wish
15 to enable the 'basename' utility.
16 config BUSYBOX_CONFIG_CAT
17 bool "cat"
18 default BUSYBOX_DEFAULT_CAT
19 help
20 cat is used to concatenate files and print them to the standard
21 output. Enable this option if you wish to enable the 'cat' utility.
22
23 config BUSYBOX_CONFIG_FEATURE_CATV
24 bool "cat -v[etA]"
25 default BUSYBOX_DEFAULT_FEATURE_CATV
26 depends on BUSYBOX_CONFIG_CAT
27 help
28 Display nonprinting characters as escape sequences
29 config BUSYBOX_CONFIG_CHGRP
30 bool "chgrp"
31 default BUSYBOX_DEFAULT_CHGRP
32 help
33 chgrp is used to change the group ownership of files.
34 config BUSYBOX_CONFIG_CHMOD
35 bool "chmod"
36 default BUSYBOX_DEFAULT_CHMOD
37 help
38 chmod is used to change the access permission of files.
39 config BUSYBOX_CONFIG_CHOWN
40 bool "chown"
41 default BUSYBOX_DEFAULT_CHOWN
42 help
43 chown is used to change the user and/or group ownership
44 of files.
45
46 config BUSYBOX_CONFIG_FEATURE_CHOWN_LONG_OPTIONS
47 bool "Enable long options"
48 default BUSYBOX_DEFAULT_FEATURE_CHOWN_LONG_OPTIONS
49 depends on BUSYBOX_CONFIG_CHOWN && BUSYBOX_CONFIG_LONG_OPTS
50 config BUSYBOX_CONFIG_CHROOT
51 bool "chroot"
52 default BUSYBOX_DEFAULT_CHROOT
53 help
54 chroot is used to change the root directory and run a command.
55 The default command is `/bin/sh'.
56 config BUSYBOX_CONFIG_CKSUM
57 bool "cksum"
58 default BUSYBOX_DEFAULT_CKSUM
59 help
60 cksum is used to calculate the CRC32 checksum of a file.
61 config BUSYBOX_CONFIG_COMM
62 bool "comm"
63 default BUSYBOX_DEFAULT_COMM
64 help
65 comm is used to compare two files line by line and return
66 a three-column output.
67 config BUSYBOX_CONFIG_CP
68 bool "cp"
69 default BUSYBOX_DEFAULT_CP
70 help
71 cp is used to copy files and directories.
72
73 config BUSYBOX_CONFIG_FEATURE_CP_LONG_OPTIONS
74 bool "Enable long options"
75 default BUSYBOX_DEFAULT_FEATURE_CP_LONG_OPTIONS
76 depends on BUSYBOX_CONFIG_CP && BUSYBOX_CONFIG_LONG_OPTS
77 help
78 Enable long options.
79 Also add support for --parents option.
80 config BUSYBOX_CONFIG_CUT
81 bool "cut"
82 default BUSYBOX_DEFAULT_CUT
83 help
84 cut is used to print selected parts of lines from
85 each file to stdout.
86 config BUSYBOX_CONFIG_DATE
87 bool "date"
88 default BUSYBOX_DEFAULT_DATE
89 help
90 date is used to set the system date or display the
91 current time in the given format.
92
93 config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT
94 bool "Enable ISO date format output (-I)"
95 default BUSYBOX_DEFAULT_FEATURE_DATE_ISOFMT
96 depends on BUSYBOX_CONFIG_DATE
97 help
98 Enable option (-I) to output an ISO-8601 compliant
99 date/time string.
100
101 # defaults to "no": stat's nanosecond field is a bit non-portable
102 config BUSYBOX_CONFIG_FEATURE_DATE_NANO
103 bool "Support %[num]N nanosecond format specifier"
104 default BUSYBOX_DEFAULT_FEATURE_DATE_NANO
105 depends on BUSYBOX_CONFIG_DATE # syscall(__NR_clock_gettime)
106 select BUSYBOX_CONFIG_PLATFORM_LINUX
107 help
108 Support %[num]N format specifier. Adds ~250 bytes of code.
109
110 config BUSYBOX_CONFIG_FEATURE_DATE_COMPAT
111 bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
112 default BUSYBOX_DEFAULT_FEATURE_DATE_COMPAT
113 depends on BUSYBOX_CONFIG_DATE
114 help
115 System time can be set by 'date -s DATE' and simply 'date DATE',
116 but formats of DATE string are different. 'date DATE' accepts
117 a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
118 unnatural placement of year between minutes and seconds.
119 date -s (and other commands like touch -d) use more sensible
120 formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
121
122 With this option off, 'date DATE' is 'date -s DATE' support
123 the same format. With it on, 'date DATE' additionally supports
124 MMDDhhmm[[YY]YY][.ss] format.
125 config BUSYBOX_CONFIG_DD
126 bool "dd"
127 default BUSYBOX_DEFAULT_DD
128 help
129 dd copies a file (from standard input to standard output,
130 by default) using specific input and output blocksizes,
131 while optionally performing conversions on it.
132
133 config BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
134 bool "Enable signal handling for status reporting"
135 default BUSYBOX_DEFAULT_FEATURE_DD_SIGNAL_HANDLING
136 depends on BUSYBOX_CONFIG_DD
137 help
138 Sending a SIGUSR1 signal to a running `dd' process makes it
139 print to standard error the number of records read and written
140 so far, then to resume copying.
141
142 $ dd if=/dev/zero of=/dev/null &
143 $ pid=$!; kill -USR1 $pid; sleep 1; kill $pid
144 10899206+0 records in
145 10899206+0 records out
146
147 config BUSYBOX_CONFIG_FEATURE_DD_THIRD_STATUS_LINE
148 bool "Enable the third status line upon signal"
149 default BUSYBOX_DEFAULT_FEATURE_DD_THIRD_STATUS_LINE
150 depends on BUSYBOX_CONFIG_DD && BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
151 help
152 Displays a coreutils-like third status line with transferred bytes,
153 elapsed time and speed.
154
155 config BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS
156 bool "Enable ibs, obs and conv options"
157 default BUSYBOX_DEFAULT_FEATURE_DD_IBS_OBS
158 depends on BUSYBOX_CONFIG_DD
159 help
160 Enable support for writing a certain number of bytes in and out,
161 at a time, and performing conversions on the data stream.
162
163 config BUSYBOX_CONFIG_FEATURE_DD_STATUS
164 bool "Enable status display options"
165 default BUSYBOX_DEFAULT_FEATURE_DD_STATUS
166 depends on BUSYBOX_CONFIG_DD
167 help
168 Enable support for status=noxfer/none option.
169 config BUSYBOX_CONFIG_DF
170 bool "df"
171 default BUSYBOX_DEFAULT_DF
172 help
173 df reports the amount of disk space used and available
174 on filesystems.
175
176 config BUSYBOX_CONFIG_FEATURE_DF_FANCY
177 bool "Enable -a, -i, -B"
178 default BUSYBOX_DEFAULT_FEATURE_DF_FANCY
179 depends on BUSYBOX_CONFIG_DF
180 help
181 -a Show all filesystems
182 -i Inodes
183 -B <SIZE> Blocksize
184 config BUSYBOX_CONFIG_DIRNAME
185 bool "dirname"
186 default BUSYBOX_DEFAULT_DIRNAME
187 help
188 dirname is used to strip a non-directory suffix from
189 a file name.
190 config BUSYBOX_CONFIG_DOS2UNIX
191 bool "dos2unix"
192 default BUSYBOX_DEFAULT_DOS2UNIX
193 help
194 dos2unix is used to convert a text file from DOS format to
195 UNIX format, and vice versa.
196
197 config BUSYBOX_CONFIG_UNIX2DOS
198 bool "unix2dos"
199 default BUSYBOX_DEFAULT_UNIX2DOS
200 help
201 unix2dos is used to convert a text file from UNIX format to
202 DOS format, and vice versa.
203 config BUSYBOX_CONFIG_DU
204 bool "du (default blocksize of 512 bytes)"
205 default BUSYBOX_DEFAULT_DU
206 help
207 du is used to report the amount of disk space used
208 for specified files.
209
210 config BUSYBOX_CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
211 bool "Use a default blocksize of 1024 bytes (1K)"
212 default BUSYBOX_DEFAULT_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
213 depends on BUSYBOX_CONFIG_DU
214 help
215 Use a blocksize of (1K) instead of the default 512b.
216 config BUSYBOX_CONFIG_ECHO
217 bool "echo (basic SuSv3 version taking no options)"
218 default BUSYBOX_DEFAULT_ECHO
219 help
220 echo is used to print a specified string to stdout.
221
222 # this entry also appears in shell/Config.in, next to the echo builtin
223 config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
224 bool "Enable -n and -e options"
225 default BUSYBOX_DEFAULT_FEATURE_FANCY_ECHO
226 depends on BUSYBOX_CONFIG_ECHO || BUSYBOX_CONFIG_ASH_ECHO || BUSYBOX_CONFIG_HUSH_ECHO
227 config BUSYBOX_CONFIG_ENV
228 bool "env"
229 default BUSYBOX_DEFAULT_ENV
230 help
231 env is used to set an environment variable and run
232 a command; without options it displays the current
233 environment.
234
235 config BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS
236 bool "Enable long options"
237 default BUSYBOX_DEFAULT_FEATURE_ENV_LONG_OPTIONS
238 depends on BUSYBOX_CONFIG_ENV && BUSYBOX_CONFIG_LONG_OPTS
239 config BUSYBOX_CONFIG_EXPAND
240 bool "expand"
241 default BUSYBOX_DEFAULT_EXPAND
242 help
243 By default, convert all tabs to spaces.
244
245 config BUSYBOX_CONFIG_FEATURE_EXPAND_LONG_OPTIONS
246 bool "Enable long options"
247 default BUSYBOX_DEFAULT_FEATURE_EXPAND_LONG_OPTIONS
248 depends on BUSYBOX_CONFIG_EXPAND && BUSYBOX_CONFIG_LONG_OPTS
249
250 config BUSYBOX_CONFIG_UNEXPAND
251 bool "unexpand"
252 default BUSYBOX_DEFAULT_UNEXPAND
253 help
254 By default, convert only leading sequences of blanks to tabs.
255
256 config BUSYBOX_CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS
257 bool "Enable long options"
258 default BUSYBOX_DEFAULT_FEATURE_UNEXPAND_LONG_OPTIONS
259 depends on BUSYBOX_CONFIG_UNEXPAND && BUSYBOX_CONFIG_LONG_OPTS
260 config BUSYBOX_CONFIG_EXPR
261 bool "expr"
262 default BUSYBOX_DEFAULT_EXPR
263 help
264 expr is used to calculate numbers and print the result
265 to standard output.
266
267 config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64
268 bool "Extend Posix numbers support to 64 bit"
269 default BUSYBOX_DEFAULT_EXPR_MATH_SUPPORT_64
270 depends on BUSYBOX_CONFIG_EXPR
271 help
272 Enable 64-bit math support in the expr applet. This will make
273 the applet slightly larger, but will allow computation with very
274 large numbers.
275 config BUSYBOX_CONFIG_FACTOR
276 bool "factor"
277 default BUSYBOX_DEFAULT_FACTOR
278 help
279 factor factorizes integers
280 config BUSYBOX_CONFIG_FALSE
281 bool "false"
282 default BUSYBOX_DEFAULT_FALSE
283 help
284 false returns an exit code of FALSE (1).
285 config BUSYBOX_CONFIG_FOLD
286 bool "fold"
287 default BUSYBOX_DEFAULT_FOLD
288 help
289 Wrap text to fit a specific width.
290 config BUSYBOX_CONFIG_FSYNC
291 bool "fsync"
292 default BUSYBOX_DEFAULT_FSYNC
293 help
294 fsync is used to flush file-related cached blocks to disk.
295 config BUSYBOX_CONFIG_HEAD
296 bool "head"
297 default BUSYBOX_DEFAULT_HEAD
298 help
299 head is used to print the first specified number of lines
300 from files.
301
302 config BUSYBOX_CONFIG_FEATURE_FANCY_HEAD
303 bool "Enable -c, -q, and -v"
304 default BUSYBOX_DEFAULT_FEATURE_FANCY_HEAD
305 depends on BUSYBOX_CONFIG_HEAD
306 config BUSYBOX_CONFIG_HOSTID
307 bool "hostid"
308 default BUSYBOX_DEFAULT_HOSTID
309 help
310 hostid prints the numeric identifier (in hexadecimal) for
311 the current host.
312 config BUSYBOX_CONFIG_ID
313 bool "id"
314 default BUSYBOX_DEFAULT_ID
315 help
316 id displays the current user and group ID names.
317
318 config BUSYBOX_CONFIG_GROUPS
319 bool "groups"
320 default BUSYBOX_DEFAULT_GROUPS
321 help
322 Print the group names associated with current user id.
323 config BUSYBOX_CONFIG_INSTALL
324 bool "install"
325 default BUSYBOX_DEFAULT_INSTALL
326 help
327 Copy files and set attributes.
328
329 config BUSYBOX_CONFIG_FEATURE_INSTALL_LONG_OPTIONS
330 bool "Enable long options"
331 default BUSYBOX_DEFAULT_FEATURE_INSTALL_LONG_OPTIONS
332 depends on BUSYBOX_CONFIG_INSTALL && BUSYBOX_CONFIG_LONG_OPTS
333 config BUSYBOX_CONFIG_LINK
334 bool "link"
335 default BUSYBOX_DEFAULT_LINK
336 help
337 link creates hard links between files.
338 config BUSYBOX_CONFIG_LN
339 bool "ln"
340 default BUSYBOX_DEFAULT_LN
341 help
342 ln is used to create hard or soft links between files.
343 config BUSYBOX_CONFIG_LOGNAME
344 bool "logname"
345 default BUSYBOX_DEFAULT_LOGNAME
346 help
347 logname is used to print the current user's login name.
348 config BUSYBOX_CONFIG_LS
349 bool "ls"
350 default BUSYBOX_DEFAULT_LS
351 help
352 ls is used to list the contents of directories.
353
354 config BUSYBOX_CONFIG_FEATURE_LS_FILETYPES
355 bool "Enable filetyping options (-p and -F)"
356 default BUSYBOX_DEFAULT_FEATURE_LS_FILETYPES
357 depends on BUSYBOX_CONFIG_LS
358
359 config BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS
360 bool "Enable symlinks dereferencing (-L)"
361 default BUSYBOX_DEFAULT_FEATURE_LS_FOLLOWLINKS
362 depends on BUSYBOX_CONFIG_LS
363
364 config BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE
365 bool "Enable recursion (-R)"
366 default BUSYBOX_DEFAULT_FEATURE_LS_RECURSIVE
367 depends on BUSYBOX_CONFIG_LS
368
369 config BUSYBOX_CONFIG_FEATURE_LS_WIDTH
370 bool "Enable -w WIDTH and window size autodetection"
371 default BUSYBOX_DEFAULT_FEATURE_LS_WIDTH
372 depends on BUSYBOX_CONFIG_LS
373
374 config BUSYBOX_CONFIG_FEATURE_LS_SORTFILES
375 bool "Sort the file names"
376 default BUSYBOX_DEFAULT_FEATURE_LS_SORTFILES
377 depends on BUSYBOX_CONFIG_LS
378 help
379 Allow ls to sort file names alphabetically.
380
381 config BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS
382 bool "Show file timestamps"
383 default BUSYBOX_DEFAULT_FEATURE_LS_TIMESTAMPS
384 depends on BUSYBOX_CONFIG_LS
385 help
386 Allow ls to display timestamps for files.
387
388 config BUSYBOX_CONFIG_FEATURE_LS_USERNAME
389 bool "Show username/groupnames"
390 default BUSYBOX_DEFAULT_FEATURE_LS_USERNAME
391 depends on BUSYBOX_CONFIG_LS
392 help
393 Allow ls to display username/groupname for files.
394
395 config BUSYBOX_CONFIG_FEATURE_LS_COLOR
396 bool "Allow use of color to identify file types"
397 default BUSYBOX_DEFAULT_FEATURE_LS_COLOR
398 depends on BUSYBOX_CONFIG_LS && BUSYBOX_CONFIG_LONG_OPTS
399 help
400 This enables the --color option to ls.
401
402 config BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT
403 bool "Produce colored ls output by default"
404 default BUSYBOX_DEFAULT_FEATURE_LS_COLOR_IS_DEFAULT
405 depends on BUSYBOX_CONFIG_FEATURE_LS_COLOR
406 help
407 Saying yes here will turn coloring on by default,
408 even if no "--color" option is given to the ls command.
409 This is not recommended, since the colors are not
410 configurable, and the output may not be legible on
411 many output screens.
412 config BUSYBOX_CONFIG_MD5SUM
413 bool "md5sum"
414 default BUSYBOX_DEFAULT_MD5SUM
415 help
416 md5sum is used to print or check MD5 checksums.
417
418 config BUSYBOX_CONFIG_SHA1SUM
419 bool "sha1sum"
420 default BUSYBOX_DEFAULT_SHA1SUM
421 help
422 Compute and check SHA1 message digest
423
424 config BUSYBOX_CONFIG_SHA256SUM
425 bool "sha256sum"
426 default BUSYBOX_DEFAULT_SHA256SUM
427 help
428 Compute and check SHA256 message digest
429
430 config BUSYBOX_CONFIG_SHA512SUM
431 bool "sha512sum"
432 default BUSYBOX_DEFAULT_SHA512SUM
433 help
434 Compute and check SHA512 message digest
435
436 config BUSYBOX_CONFIG_SHA3SUM
437 bool "sha3sum"
438 default BUSYBOX_DEFAULT_SHA3SUM
439 help
440 Compute and check SHA3 message digest
441
442 comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum"
443 depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM || BUSYBOX_CONFIG_SHA3SUM
444
445 config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
446 bool "Enable -c, -s and -w options"
447 default BUSYBOX_DEFAULT_FEATURE_MD5_SHA1_SUM_CHECK
448 depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM || BUSYBOX_CONFIG_SHA3SUM
449 help
450 Enabling the -c options allows files to be checked
451 against pre-calculated hash values.
452 -s and -w are useful options when verifying checksums.
453 config BUSYBOX_CONFIG_MKDIR
454 bool "mkdir"
455 default BUSYBOX_DEFAULT_MKDIR
456 help
457 mkdir is used to create directories with the specified names.
458
459 config BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS
460 bool "Enable long options"
461 default BUSYBOX_DEFAULT_FEATURE_MKDIR_LONG_OPTIONS
462 depends on BUSYBOX_CONFIG_MKDIR && BUSYBOX_CONFIG_LONG_OPTS
463 config BUSYBOX_CONFIG_MKFIFO
464 bool "mkfifo"
465 default BUSYBOX_DEFAULT_MKFIFO
466 help
467 mkfifo is used to create FIFOs (named pipes).
468 The 'mknod' program can also create FIFOs.
469 config BUSYBOX_CONFIG_MKNOD
470 bool "mknod"
471 default BUSYBOX_DEFAULT_MKNOD
472 help
473 mknod is used to create FIFOs or block/character special
474 files with the specified names.
475 config BUSYBOX_CONFIG_MKTEMP
476 bool "mktemp"
477 default BUSYBOX_DEFAULT_MKTEMP
478 help
479 mktemp is used to create unique temporary files
480 config BUSYBOX_CONFIG_MV
481 bool "mv"
482 default BUSYBOX_DEFAULT_MV
483 help
484 mv is used to move or rename files or directories.
485
486 config BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS
487 bool "Enable long options"
488 default BUSYBOX_DEFAULT_FEATURE_MV_LONG_OPTIONS
489 depends on BUSYBOX_CONFIG_MV && BUSYBOX_CONFIG_LONG_OPTS
490 config BUSYBOX_CONFIG_NICE
491 bool "nice"
492 default BUSYBOX_DEFAULT_NICE
493 help
494 nice runs a program with modified scheduling priority.
495 config BUSYBOX_CONFIG_NL
496 bool "nl"
497 default BUSYBOX_DEFAULT_NL
498 help
499 nl is used to number lines of files.
500 config BUSYBOX_CONFIG_NOHUP
501 bool "nohup"
502 default BUSYBOX_DEFAULT_NOHUP
503 help
504 run a command immune to hangups, with output to a non-tty.
505 config BUSYBOX_CONFIG_NPROC
506 bool "nproc"
507 default BUSYBOX_DEFAULT_NPROC
508 help
509 Print number of CPUs
510 config BUSYBOX_CONFIG_OD
511 bool "od"
512 default BUSYBOX_DEFAULT_OD
513 help
514 od is used to dump binary files in octal and other formats.
515 config BUSYBOX_CONFIG_PASTE
516 bool "paste"
517 default BUSYBOX_DEFAULT_PASTE
518 help
519 paste is used to paste lines of different files together
520 and write the result to stdout
521 config BUSYBOX_CONFIG_PRINTENV
522 bool "printenv"
523 default BUSYBOX_DEFAULT_PRINTENV
524 help
525 printenv is used to print all or part of environment.
526 config BUSYBOX_CONFIG_PRINTF
527 bool "printf"
528 default BUSYBOX_DEFAULT_PRINTF
529 help
530 printf is used to format and print specified strings.
531 It's similar to `echo' except it has more options.
532 config BUSYBOX_CONFIG_PWD
533 bool "pwd"
534 default BUSYBOX_DEFAULT_PWD
535 help
536 pwd is used to print the current directory.
537 config BUSYBOX_CONFIG_READLINK
538 bool "readlink"
539 default BUSYBOX_DEFAULT_READLINK
540 help
541 This program reads a symbolic link and returns the name
542 of the file it points to
543
544 config BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW
545 bool "Enable canonicalization by following all symlinks (-f)"
546 default BUSYBOX_DEFAULT_FEATURE_READLINK_FOLLOW
547 depends on BUSYBOX_CONFIG_READLINK
548 help
549 Enable the readlink option (-f).
550 config BUSYBOX_CONFIG_REALPATH
551 bool "realpath"
552 default BUSYBOX_DEFAULT_REALPATH
553 help
554 Return the canonicalized absolute pathname.
555 This isn't provided by GNU shellutils, but where else does it belong.
556 config BUSYBOX_CONFIG_RM
557 bool "rm"
558 default BUSYBOX_DEFAULT_RM
559 help
560 rm is used to remove files or directories.
561 config BUSYBOX_CONFIG_RMDIR
562 bool "rmdir"
563 default BUSYBOX_DEFAULT_RMDIR
564 help
565 rmdir is used to remove empty directories.
566
567 config BUSYBOX_CONFIG_FEATURE_RMDIR_LONG_OPTIONS
568 bool "Enable long options"
569 default BUSYBOX_DEFAULT_FEATURE_RMDIR_LONG_OPTIONS
570 depends on BUSYBOX_CONFIG_RMDIR && BUSYBOX_CONFIG_LONG_OPTS
571 help
572 Support long options for the rmdir applet, including
573 --ignore-fail-on-non-empty for compatibility with GNU rmdir.
574 config BUSYBOX_CONFIG_SEQ
575 bool "seq"
576 default BUSYBOX_DEFAULT_SEQ
577 help
578 print a sequence of numbers
579 config BUSYBOX_CONFIG_SHRED
580 bool "shred"
581 default BUSYBOX_DEFAULT_SHRED
582 help
583 Overwrite a file to hide its contents, and optionally delete it
584 config BUSYBOX_CONFIG_SHUF
585 bool "shuf"
586 default BUSYBOX_DEFAULT_SHUF
587 help
588 Generate random permutations
589 config BUSYBOX_CONFIG_SLEEP
590 bool "sleep"
591 default BUSYBOX_DEFAULT_SLEEP
592 help
593 sleep is used to pause for a specified number of seconds.
594 It comes in 3 versions:
595 - small: takes one integer parameter
596 - fancy: takes multiple integer arguments with suffixes:
597 sleep 1d 2h 3m 15s
598 - fancy with fractional numbers:
599 sleep 2.3s 4.5h sleeps for 16202.3 seconds
600 Last one is "the most compatible" with coreutils sleep,
601 but it adds around 1k of code.
602
603 config BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP
604 bool "Enable multiple arguments and s/m/h/d suffixes"
605 default BUSYBOX_DEFAULT_FEATURE_FANCY_SLEEP
606 depends on BUSYBOX_CONFIG_SLEEP
607 help
608 Allow sleep to pause for specified minutes, hours, and days.
609
610 config BUSYBOX_CONFIG_FEATURE_FLOAT_SLEEP
611 bool "Enable fractional arguments"
612 default BUSYBOX_DEFAULT_FEATURE_FLOAT_SLEEP
613 depends on BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP
614 help
615 Allow for fractional numeric parameters.
616 config BUSYBOX_CONFIG_SORT
617 bool "sort"
618 default BUSYBOX_DEFAULT_SORT
619 help
620 sort is used to sort lines of text in specified files.
621
622 config BUSYBOX_CONFIG_FEATURE_SORT_BIG
623 bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
624 default BUSYBOX_DEFAULT_FEATURE_SORT_BIG
625 depends on BUSYBOX_CONFIG_SORT
626 help
627 Without this, sort only supports -r, -u, and an integer version
628 of -n. Selecting this adds sort keys, floating point support, and
629 more. This adds a little over 3k to a nonstatic build on x86.
630
631 The SuSv3 sort standard is available at:
632 http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
633 config BUSYBOX_CONFIG_SPLIT
634 bool "split"
635 default BUSYBOX_DEFAULT_SPLIT
636 help
637 Split a file into pieces.
638
639 config BUSYBOX_CONFIG_FEATURE_SPLIT_FANCY
640 bool "Fancy extensions"
641 default BUSYBOX_DEFAULT_FEATURE_SPLIT_FANCY
642 depends on BUSYBOX_CONFIG_SPLIT
643 help
644 Add support for features not required by SUSv3.
645 Supports additional suffixes 'b' for 512 bytes,
646 'g' for 1GiB for the -b option.
647 config BUSYBOX_CONFIG_STAT
648 bool "stat"
649 default BUSYBOX_DEFAULT_STAT
650 help
651 display file or filesystem status.
652
653 config BUSYBOX_CONFIG_FEATURE_STAT_FORMAT
654 bool "Enable custom formats (-c)"
655 default BUSYBOX_DEFAULT_FEATURE_STAT_FORMAT
656 depends on BUSYBOX_CONFIG_STAT
657 help
658 Without this, stat will not support the '-c format' option where
659 users can pass a custom format string for output. This adds about
660 7k to a nonstatic build on amd64.
661
662 config BUSYBOX_CONFIG_FEATURE_STAT_FILESYSTEM
663 bool "Enable display of filesystem status (-f)"
664 default BUSYBOX_DEFAULT_FEATURE_STAT_FILESYSTEM
665 depends on BUSYBOX_CONFIG_STAT
666 select BUSYBOX_CONFIG_PLATFORM_LINUX # statfs()
667 help
668 Without this, stat will not support the '-f' option to display
669 information about filesystem status.
670 config BUSYBOX_CONFIG_STTY
671 bool "stty"
672 default BUSYBOX_DEFAULT_STTY
673 help
674 stty is used to change and print terminal line settings.
675 config BUSYBOX_CONFIG_SUM
676 bool "sum"
677 default BUSYBOX_DEFAULT_SUM
678 help
679 checksum and count the blocks in a file
680 config BUSYBOX_CONFIG_SYNC
681 bool "sync"
682 default BUSYBOX_DEFAULT_SYNC
683 help
684 sync is used to flush filesystem buffers.
685 config BUSYBOX_CONFIG_FEATURE_SYNC_FANCY
686 bool "Enable -d and -f flags (requires syncfs(2) in libc)"
687 default BUSYBOX_DEFAULT_FEATURE_SYNC_FANCY
688 depends on BUSYBOX_CONFIG_SYNC
689 help
690 sync -d FILE... executes fdatasync() on each FILE.
691 sync -f FILE... executes syncfs() on each FILE.
692 config BUSYBOX_CONFIG_TAC
693 bool "tac"
694 default BUSYBOX_DEFAULT_TAC
695 help
696 tac is used to concatenate and print files in reverse.
697 config BUSYBOX_CONFIG_TAIL
698 bool "tail"
699 default BUSYBOX_DEFAULT_TAIL
700 help
701 tail is used to print the last specified number of lines
702 from files.
703
704 config BUSYBOX_CONFIG_FEATURE_FANCY_TAIL
705 bool "Enable -q, -s, -v, and -F options"
706 default BUSYBOX_DEFAULT_FEATURE_FANCY_TAIL
707 depends on BUSYBOX_CONFIG_TAIL
708 help
709 These options are provided by GNU tail, but
710 are not specific in the SUSv3 standard:
711 -q Never output headers giving file names
712 -s SEC Wait SEC seconds between reads with -f
713 -v Always output headers giving file names
714 -F Same as -f, but keep retrying
715 config BUSYBOX_CONFIG_TEE
716 bool "tee"
717 default BUSYBOX_DEFAULT_TEE
718 help
719 tee is used to read from standard input and write
720 to standard output and files.
721
722 config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO
723 bool "Enable block I/O (larger/faster) instead of byte I/O"
724 default BUSYBOX_DEFAULT_FEATURE_TEE_USE_BLOCK_IO
725 depends on BUSYBOX_CONFIG_TEE
726 help
727 Enable this option for a faster tee, at expense of size.
728 config BUSYBOX_CONFIG_TEST
729 bool "test"
730 default BUSYBOX_DEFAULT_TEST
731 help
732 test is used to check file types and compare values,
733 returning an appropriate exit code. The bash shell
734 has test built in, ash can build it in optionally.
735
736 config BUSYBOX_CONFIG_TEST1
737 bool "test as ["
738 default BUSYBOX_DEFAULT_TEST1
739 help
740 Provide test command in the "[ EXPR ]" form
741
742 config BUSYBOX_CONFIG_TEST2
743 bool "test as [["
744 default BUSYBOX_DEFAULT_TEST2
745 help
746 Provide test command in the "[[ EXPR ]]" form
747
748 config BUSYBOX_CONFIG_FEATURE_TEST_64
749 bool "Extend test to 64 bit"
750 default BUSYBOX_DEFAULT_FEATURE_TEST_64
751 depends on BUSYBOX_CONFIG_TEST || BUSYBOX_CONFIG_TEST1 || BUSYBOX_CONFIG_TEST2 || BUSYBOX_CONFIG_ASH_TEST || BUSYBOX_CONFIG_HUSH_TEST
752 help
753 Enable 64-bit support in test.
754 config BUSYBOX_CONFIG_TIMEOUT
755 bool "timeout"
756 default BUSYBOX_DEFAULT_TIMEOUT
757 help
758 Runs a program and watches it. If it does not terminate in
759 specified number of seconds, it is sent a signal.
760 config BUSYBOX_CONFIG_TOUCH
761 bool "touch"
762 default BUSYBOX_DEFAULT_TOUCH
763 help
764 touch is used to create or change the access and/or
765 modification timestamp of specified files.
766
767 config BUSYBOX_CONFIG_FEATURE_TOUCH_NODEREF
768 bool "Add support for -h"
769 default BUSYBOX_DEFAULT_FEATURE_TOUCH_NODEREF
770 depends on BUSYBOX_CONFIG_TOUCH
771 help
772 Enable touch to have the -h option.
773 This requires libc support for lutimes() function.
774
775 config BUSYBOX_CONFIG_FEATURE_TOUCH_SUSV3
776 bool "Add support for SUSV3 features (-d -t -r)"
777 default BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3
778 depends on BUSYBOX_CONFIG_TOUCH
779 help
780 Enable touch to use a reference file or a given date/time argument.
781 config BUSYBOX_CONFIG_TR
782 bool "tr"
783 default BUSYBOX_DEFAULT_TR
784 help
785 tr is used to squeeze, and/or delete characters from standard
786 input, writing to standard output.
787
788 config BUSYBOX_CONFIG_FEATURE_TR_CLASSES
789 bool "Enable character classes (such as [:upper:])"
790 default BUSYBOX_DEFAULT_FEATURE_TR_CLASSES
791 depends on BUSYBOX_CONFIG_TR
792 help
793 Enable character classes, enabling commands such as:
794 tr [:upper:] [:lower:] to convert input into lowercase.
795
796 config BUSYBOX_CONFIG_FEATURE_TR_EQUIV
797 bool "Enable equivalence classes"
798 default BUSYBOX_DEFAULT_FEATURE_TR_EQUIV
799 depends on BUSYBOX_CONFIG_TR
800 help
801 Enable equivalence classes, which essentially add the enclosed
802 character to the current set. For instance, tr [=a=] xyz would
803 replace all instances of 'a' with 'xyz'. This option is mainly
804 useful for cases when no other way of expressing a character
805 is possible.
806 config BUSYBOX_CONFIG_TRUE
807 bool "true"
808 default BUSYBOX_DEFAULT_TRUE
809 help
810 true returns an exit code of TRUE (0).
811 config BUSYBOX_CONFIG_TRUNCATE
812 bool "truncate"
813 default BUSYBOX_DEFAULT_TRUNCATE
814 help
815 truncate truncates files to a given size. If a file does
816 not exist, it is created unless told otherwise.
817 config BUSYBOX_CONFIG_TTY
818 bool "tty"
819 default BUSYBOX_DEFAULT_TTY
820 help
821 tty is used to print the name of the current terminal to
822 standard output.
823 config BUSYBOX_CONFIG_UNAME
824 bool "uname"
825 default BUSYBOX_DEFAULT_UNAME
826 help
827 uname is used to print system information.
828
829 config BUSYBOX_CONFIG_UNAME_OSNAME
830 string "Operating system name"
831 default BUSYBOX_DEFAULT_UNAME_OSNAME
832 depends on BUSYBOX_CONFIG_UNAME
833 help
834 Sets the operating system name reported by uname -o. The
835 default BUSYBOX_DEFAULT_UNAME_OSNAME "GNU/Linux".
836 config BUSYBOX_CONFIG_UNIQ
837 bool "uniq"
838 default BUSYBOX_DEFAULT_UNIQ
839 help
840 uniq is used to remove duplicate lines from a sorted file.
841 config BUSYBOX_CONFIG_UNLINK
842 bool "unlink"
843 default BUSYBOX_DEFAULT_UNLINK
844 help
845 unlink deletes a file by calling unlink()
846 config BUSYBOX_CONFIG_USLEEP
847 bool "usleep"
848 default BUSYBOX_DEFAULT_USLEEP
849 help
850 usleep is used to pause for a specified number of microseconds.
851 config BUSYBOX_CONFIG_UUDECODE
852 bool "uudecode"
853 default BUSYBOX_DEFAULT_UUDECODE
854 help
855 uudecode is used to decode a uuencoded file.
856 config BUSYBOX_CONFIG_BASE64
857 bool "base64"
858 default BUSYBOX_DEFAULT_BASE64
859 help
860 Base64 encode and decode
861 config BUSYBOX_CONFIG_UUENCODE
862 bool "uuencode"
863 default BUSYBOX_DEFAULT_UUENCODE
864 help
865 uuencode is used to uuencode a file.
866 config BUSYBOX_CONFIG_WC
867 bool "wc"
868 default BUSYBOX_DEFAULT_WC
869 help
870 wc is used to print the number of bytes, words, and lines,
871 in specified files.
872
873 config BUSYBOX_CONFIG_FEATURE_WC_LARGE
874 bool "Support very large counts"
875 default BUSYBOX_DEFAULT_FEATURE_WC_LARGE
876 depends on BUSYBOX_CONFIG_WC
877 help
878 Use "unsigned long long" for counter variables.
879 config BUSYBOX_CONFIG_WHO
880 bool "who"
881 default BUSYBOX_DEFAULT_WHO
882 depends on BUSYBOX_CONFIG_FEATURE_UTMP
883 help
884 who is used to show who is logged on.
885
886 config BUSYBOX_CONFIG_W
887 bool "w"
888 default BUSYBOX_DEFAULT_W
889 depends on BUSYBOX_CONFIG_FEATURE_UTMP
890 help
891 w is used to show who is logged on.
892
893 config BUSYBOX_CONFIG_USERS
894 bool "users"
895 default BUSYBOX_DEFAULT_USERS
896 depends on BUSYBOX_CONFIG_FEATURE_UTMP
897 help
898 Print users currently logged on.
899 config BUSYBOX_CONFIG_WHOAMI
900 bool "whoami"
901 default BUSYBOX_DEFAULT_WHOAMI
902 help
903 whoami is used to print the username of the current
904 user id (same as id -un).
905 config BUSYBOX_CONFIG_YES
906 bool "yes"
907 default BUSYBOX_DEFAULT_YES
908 help
909 yes is used to repeatedly output a specific string, or
910 the default string `y'.
911
912 comment "Common options"
913
914 config BUSYBOX_CONFIG_FEATURE_VERBOSE
915 bool "Support verbose options (usually -v) for various applets"
916 default BUSYBOX_DEFAULT_FEATURE_VERBOSE
917 help
918 Enable cp -v, rm -v and similar messages.
919 Also enables long option (--verbose) if it exists.
920 Without this option, -v is accepted but ignored.
921
922 comment "Common options for cp and mv"
923 depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
924
925 config BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS
926 bool "Preserve hard links"
927 default BUSYBOX_DEFAULT_FEATURE_PRESERVE_HARDLINKS
928 depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
929 help
930 Allow cp and mv to preserve hard links.
931
932 comment "Common options for df, du, ls"
933 depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
934
935 config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE
936 bool "Support human readable output (example 13k, 23M, 235G)"
937 default BUSYBOX_DEFAULT_FEATURE_HUMAN_READABLE
938 depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
939 help
940 Allow df, du, and ls to have human readable output.
941
942 endmenu