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