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