aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-14 04:44:04 +0200
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-20 19:14:23 +0200
commitd5eca0eeb7d2a12f94a3c25ea5b092fbac93e6c6 (patch)
tree559f2816787cd6342b0f25174ff4b3f9f4ecdd8e
parent72783f4f2d99694eb253b307c0cc10cfdfe15f70 (diff)
downloadbusybox-w32-d5eca0eeb7d2a12f94a3c25ea5b092fbac93e6c6.tar.gz
busybox-w32-d5eca0eeb7d2a12f94a3c25ea5b092fbac93e6c6.tar.bz2
busybox-w32-d5eca0eeb7d2a12f94a3c25ea5b092fbac93e6c6.zip
win32: Unmask (partly) coreutils
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
-rw-r--r--coreutils/Config.in98
1 files changed, 51 insertions, 47 deletions
diff --git a/coreutils/Config.in b/coreutils/Config.in
index 9b0873aaf..4bce42411 100644
--- a/coreutils/Config.in
+++ b/coreutils/Config.in
@@ -8,7 +8,7 @@ menu "Coreutils"
8config BASENAME 8config BASENAME
9 bool "basename" 9 bool "basename"
10 default n 10 default n
11 depends on PLATFORM_POSIX 11 depends on PLATFORM_POSIX || PLATFORM_MINGW32
12 help 12 help
13 basename is used to strip the directory and suffix from filenames, 13 basename is used to strip the directory and suffix from filenames,
14 leaving just the filename itself. Enable this option if you wish 14 leaving just the filename itself. Enable this option if you wish
@@ -17,14 +17,14 @@ config BASENAME
17config CAL 17config CAL
18 bool "cal" 18 bool "cal"
19 default n 19 default n
20 depends on PLATFORM_POSIX 20 depends on PLATFORM_POSIX || PLATFORM_MINGW32
21 help 21 help
22 cal is used to display a monthly calender. 22 cal is used to display a monthly calender.
23 23
24config CAT 24config CAT
25 bool "cat" 25 bool "cat"
26 default n 26 default n
27 depends on PLATFORM_POSIX 27 depends on PLATFORM_POSIX || PLATFORM_MINGW32
28 help 28 help
29 cat is used to concatenate files and print them to the standard 29 cat is used to concatenate files and print them to the standard
30 output. Enable this option if you wish to enable the 'cat' utility. 30 output. Enable this option if you wish to enable the 'cat' utility.
@@ -32,7 +32,7 @@ config CAT
32config CATV 32config CATV
33 bool "catv" 33 bool "catv"
34 default n 34 default n
35 depends on PLATFORM_POSIX 35 depends on PLATFORM_POSIX || PLATFORM_MINGW32
36 help 36 help
37 Display nonprinting characters as escape sequences (like some 37 Display nonprinting characters as escape sequences (like some
38 implementations' cat -v option). 38 implementations' cat -v option).
@@ -77,14 +77,14 @@ config CHROOT
77config CKSUM 77config CKSUM
78 bool "cksum" 78 bool "cksum"
79 default n 79 default n
80 depends on PLATFORM_POSIX 80 depends on PLATFORM_POSIX || PLATFORM_MINGW32
81 help 81 help
82 cksum is used to calculate the CRC32 checksum of a file. 82 cksum is used to calculate the CRC32 checksum of a file.
83 83
84config COMM 84config COMM
85 bool "comm" 85 bool "comm"
86 default n 86 default n
87 depends on PLATFORM_POSIX 87 depends on PLATFORM_POSIX || PLATFORM_MINGW32
88 help 88 help
89 comm is used to compare two files line by line and return 89 comm is used to compare two files line by line and return
90 a three-column output. 90 a three-column output.
@@ -92,7 +92,7 @@ config COMM
92config CP 92config CP
93 bool "cp" 93 bool "cp"
94 default n 94 default n
95 depends on PLATFORM_POSIX 95 depends on PLATFORM_POSIX || PLATFORM_MINGW32
96 help 96 help
97 cp is used to copy files and directories. 97 cp is used to copy files and directories.
98 98
@@ -107,7 +107,7 @@ config FEATURE_CP_LONG_OPTIONS
107config CUT 107config CUT
108 bool "cut" 108 bool "cut"
109 default n 109 default n
110 depends on PLATFORM_POSIX 110 depends on PLATFORM_POSIX || PLATFORM_MINGW32
111 help 111 help
112 cut is used to print selected parts of lines from 112 cut is used to print selected parts of lines from
113 each file to stdout. 113 each file to stdout.
@@ -147,7 +147,7 @@ config FEATURE_DATE_COMPAT
147config DD 147config DD
148 bool "dd" 148 bool "dd"
149 default n 149 default n
150 depends on PLATFORM_POSIX 150 depends on PLATFORM_POSIX || PLATFORM_MINGW32
151 help 151 help
152 dd copies a file (from standard input to standard output, 152 dd copies a file (from standard input to standard output,
153 by default) using specific input and output blocksizes, 153 by default) using specific input and output blocksizes,
@@ -157,6 +157,7 @@ config FEATURE_DD_SIGNAL_HANDLING
157 bool "Enable DD signal handling for status reporting" 157 bool "Enable DD signal handling for status reporting"
158 default y 158 default y
159 depends on DD 159 depends on DD
160 depends on !PLATFORM_MINGW32
160 help 161 help
161 Sending a SIGUSR1 signal to a running `dd' process makes it 162 Sending a SIGUSR1 signal to a running `dd' process makes it
162 print to standard error the number of records read and written 163 print to standard error the number of records read and written
@@ -171,6 +172,7 @@ config FEATURE_DD_THIRD_STATUS_LINE
171 bool "Enable the third status line upon signal" 172 bool "Enable the third status line upon signal"
172 default n 173 default n
173 depends on DD && FEATURE_DD_SIGNAL_HANDLING 174 depends on DD && FEATURE_DD_SIGNAL_HANDLING
175 depends on !PLATFORM_MINGW32
174 help 176 help
175 Displays a coreutils-like third status line with transferred bytes, 177 Displays a coreutils-like third status line with transferred bytes,
176 elapsed time and speed. 178 elapsed time and speed.
@@ -205,7 +207,7 @@ config FEATURE_DF_FANCY
205config DIRNAME 207config DIRNAME
206 bool "dirname" 208 bool "dirname"
207 default n 209 default n
208 depends on PLATFORM_POSIX 210 depends on PLATFORM_POSIX || PLATFORM_MINGW32
209 help 211 help
210 dirname is used to strip a non-directory suffix from 212 dirname is used to strip a non-directory suffix from
211 a file name. 213 a file name.
@@ -213,7 +215,7 @@ config DIRNAME
213config DOS2UNIX 215config DOS2UNIX
214 bool "dos2unix/unix2dos" 216 bool "dos2unix/unix2dos"
215 default n 217 default n
216 depends on PLATFORM_POSIX 218 depends on PLATFORM_POSIX || PLATFORM_MINGW32
217 help 219 help
218 dos2unix is used to convert a text file from DOS format to 220 dos2unix is used to convert a text file from DOS format to
219 UNIX format, and vice versa. 221 UNIX format, and vice versa.
@@ -244,7 +246,7 @@ config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
244config ECHO 246config ECHO
245 bool "echo (basic SuSv3 version taking no options)" 247 bool "echo (basic SuSv3 version taking no options)"
246 default n 248 default n
247 depends on PLATFORM_POSIX 249 depends on PLATFORM_POSIX || PLATFORM_MINGW32
248 help 250 help
249 echo is used to print a specified string to stdout. 251 echo is used to print a specified string to stdout.
250 252
@@ -259,7 +261,7 @@ config FEATURE_FANCY_ECHO
259config ENV 261config ENV
260 bool "env" 262 bool "env"
261 default n 263 default n
262 depends on PLATFORM_POSIX 264 depends on PLATFORM_POSIX || PLATFORM_MINGW32
263 help 265 help
264 env is used to set an environment variable and run 266 env is used to set an environment variable and run
265 a command; without options it displays the current 267 a command; without options it displays the current
@@ -275,7 +277,7 @@ config FEATURE_ENV_LONG_OPTIONS
275config EXPAND 277config EXPAND
276 bool "expand" 278 bool "expand"
277 default n 279 default n
278 depends on PLATFORM_POSIX 280 depends on PLATFORM_POSIX || PLATFORM_MINGW32
279 help 281 help
280 By default, convert all tabs to spaces. 282 By default, convert all tabs to spaces.
281 283
@@ -289,7 +291,7 @@ config FEATURE_EXPAND_LONG_OPTIONS
289config EXPR 291config EXPR
290 bool "expr" 292 bool "expr"
291 default n 293 default n
292 depends on PLATFORM_POSIX 294 depends on PLATFORM_POSIX || PLATFORM_MINGW32
293 help 295 help
294 expr is used to calculate numbers and print the result 296 expr is used to calculate numbers and print the result
295 to standard output. 297 to standard output.
@@ -306,14 +308,14 @@ config EXPR_MATH_SUPPORT_64
306config FALSE 308config FALSE
307 bool "false" 309 bool "false"
308 default n 310 default n
309 depends on PLATFORM_POSIX 311 depends on PLATFORM_POSIX || PLATFORM_MINGW32
310 help 312 help
311 false returns an exit code of FALSE (1). 313 false returns an exit code of FALSE (1).
312 314
313config FOLD 315config FOLD
314 bool "fold" 316 bool "fold"
315 default n 317 default n
316 depends on PLATFORM_POSIX 318 depends on PLATFORM_POSIX || PLATFORM_MINGW32
317 help 319 help
318 Wrap text to fit a specific width. 320 Wrap text to fit a specific width.
319 321
@@ -327,7 +329,7 @@ config FSYNC
327config HEAD 329config HEAD
328 bool "head" 330 bool "head"
329 default n 331 default n
330 depends on PLATFORM_POSIX 332 depends on PLATFORM_POSIX || PLATFORM_MINGW32
331 help 333 help
332 head is used to print the first specified number of lines 334 head is used to print the first specified number of lines
333 from files. 335 from files.
@@ -371,7 +373,7 @@ config FEATURE_INSTALL_LONG_OPTIONS
371config LENGTH 373config LENGTH
372 bool "length" 374 bool "length"
373 default n 375 default n
374 depends on PLATFORM_POSIX 376 depends on PLATFORM_POSIX || PLATFORM_MINGW32
375 help 377 help
376 length is used to print out the length of a specified string. 378 length is used to print out the length of a specified string.
377 379
@@ -392,7 +394,7 @@ config LOGNAME
392config LS 394config LS
393 bool "ls" 395 bool "ls"
394 default n 396 default n
395 depends on PLATFORM_POSIX 397 depends on PLATFORM_POSIX || PLATFORM_MINGW32
396 help 398 help
397 ls is used to list the contents of directories. 399 ls is used to list the contents of directories.
398 400
@@ -459,14 +461,14 @@ config FEATURE_LS_COLOR_IS_DEFAULT
459config MD5SUM 461config MD5SUM
460 bool "md5sum" 462 bool "md5sum"
461 default n 463 default n
462 depends on PLATFORM_POSIX 464 depends on PLATFORM_POSIX || PLATFORM_MINGW32
463 help 465 help
464 md5sum is used to print or check MD5 checksums. 466 md5sum is used to print or check MD5 checksums.
465 467
466config MKDIR 468config MKDIR
467 bool "mkdir" 469 bool "mkdir"
468 default n 470 default n
469 depends on PLATFORM_POSIX 471 depends on PLATFORM_POSIX || PLATFORM_MINGW32
470 help 472 help
471 mkdir is used to create directories with the specified names. 473 mkdir is used to create directories with the specified names.
472 474
@@ -496,7 +498,7 @@ config MKNOD
496config MV 498config MV
497 bool "mv" 499 bool "mv"
498 default n 500 default n
499 depends on PLATFORM_POSIX 501 depends on PLATFORM_POSIX || PLATFORM_MINGW32
500 help 502 help
501 mv is used to move or rename files or directories. 503 mv is used to move or rename files or directories.
502 504
@@ -524,21 +526,21 @@ config NOHUP
524config OD 526config OD
525 bool "od" 527 bool "od"
526 default n 528 default n
527 depends on PLATFORM_POSIX 529 depends on PLATFORM_POSIX || PLATFORM_MINGW32
528 help 530 help
529 od is used to dump binary files in octal and other formats. 531 od is used to dump binary files in octal and other formats.
530 532
531config PRINTENV 533config PRINTENV
532 bool "printenv" 534 bool "printenv"
533 default n 535 default n
534 depends on PLATFORM_POSIX 536 depends on PLATFORM_POSIX || PLATFORM_MINGW32
535 help 537 help
536 printenv is used to print all or part of environment. 538 printenv is used to print all or part of environment.
537 539
538config PRINTF 540config PRINTF
539 bool "printf" 541 bool "printf"
540 default n 542 default n
541 depends on PLATFORM_POSIX 543 depends on PLATFORM_POSIX || PLATFORM_MINGW32
542 help 544 help
543 printf is used to format and print specified strings. 545 printf is used to format and print specified strings.
544 It's similar to `echo' except it has more options. 546 It's similar to `echo' except it has more options.
@@ -546,7 +548,7 @@ config PRINTF
546config PWD 548config PWD
547 bool "pwd" 549 bool "pwd"
548 default n 550 default n
549 depends on PLATFORM_POSIX 551 depends on PLATFORM_POSIX || PLATFORM_MINGW32
550 help 552 help
551 pwd is used to print the current directory. 553 pwd is used to print the current directory.
552 554
@@ -576,14 +578,14 @@ config REALPATH
576config RM 578config RM
577 bool "rm" 579 bool "rm"
578 default n 580 default n
579 depends on PLATFORM_POSIX 581 depends on PLATFORM_POSIX || PLATFORM_MINGW32
580 help 582 help
581 rm is used to remove files or directories. 583 rm is used to remove files or directories.
582 584
583config RMDIR 585config RMDIR
584 bool "rmdir" 586 bool "rmdir"
585 default n 587 default n
586 depends on PLATFORM_POSIX 588 depends on PLATFORM_POSIX || PLATFORM_MINGW32
587 help 589 help
588 rmdir is used to remove empty directories. 590 rmdir is used to remove empty directories.
589 591
@@ -598,7 +600,7 @@ config FEATURE_RMDIR_LONG_OPTIONS
598config SEQ 600config SEQ
599 bool "seq" 601 bool "seq"
600 default n 602 default n
601 depends on PLATFORM_POSIX 603 depends on PLATFORM_POSIX || PLATFORM_MINGW32
602 help 604 help
603 print a sequence of numbers 605 print a sequence of numbers
604 606
@@ -626,7 +628,7 @@ config SHA512SUM
626config SLEEP 628config SLEEP
627 bool "sleep" 629 bool "sleep"
628 default n 630 default n
629 depends on PLATFORM_POSIX 631 depends on PLATFORM_POSIX || PLATFORM_MINGW32
630 help 632 help
631 sleep is used to pause for a specified number of seconds. 633 sleep is used to pause for a specified number of seconds.
632 It comes in 3 versions: 634 It comes in 3 versions:
@@ -649,13 +651,14 @@ config FEATURE_FLOAT_SLEEP
649 bool "Enable fractional arguments" 651 bool "Enable fractional arguments"
650 default n 652 default n
651 depends on FEATURE_FANCY_SLEEP 653 depends on FEATURE_FANCY_SLEEP
654 depends on !PLATFORM_MINGW32
652 help 655 help
653 Allow for fractional numeric parameters. 656 Allow for fractional numeric parameters.
654 657
655config SORT 658config SORT
656 bool "sort" 659 bool "sort"
657 default n 660 default n
658 depends on PLATFORM_POSIX 661 depends on PLATFORM_POSIX || PLATFORM_MINGW32
659 help 662 help
660 sort is used to sort lines of text in specified files. 663 sort is used to sort lines of text in specified files.
661 664
@@ -674,7 +677,7 @@ config FEATURE_SORT_BIG
674config SPLIT 677config SPLIT
675 bool "split" 678 bool "split"
676 default n 679 default n
677 depends on PLATFORM_POSIX 680 depends on PLATFORM_POSIX || PLATFORM_MINGW32
678 help 681 help
679 split a file into pieces. 682 split a file into pieces.
680 683
@@ -713,7 +716,7 @@ config STTY
713config SUM 716config SUM
714 bool "sum" 717 bool "sum"
715 default n 718 default n
716 depends on PLATFORM_POSIX 719 depends on PLATFORM_POSIX || PLATFORM_MINGW32
717 help 720 help
718 checksum and count the blocks in a file 721 checksum and count the blocks in a file
719 722
@@ -727,14 +730,14 @@ config SYNC
727config TAC 730config TAC
728 bool "tac" 731 bool "tac"
729 default n 732 default n
730 depends on PLATFORM_POSIX 733 depends on PLATFORM_POSIX || PLATFORM_MINGW32
731 help 734 help
732 tac is used to concatenate and print files in reverse. 735 tac is used to concatenate and print files in reverse.
733 736
734config TAIL 737config TAIL
735 bool "tail" 738 bool "tail"
736 default n 739 default n
737 depends on PLATFORM_POSIX 740 depends on PLATFORM_POSIX || PLATFORM_MINGW32
738 help 741 help
739 tail is used to print the last specified number of lines 742 tail is used to print the last specified number of lines
740 from files. 743 from files.
@@ -754,7 +757,7 @@ config FEATURE_FANCY_TAIL
754config TEE 757config TEE
755 bool "tee" 758 bool "tee"
756 default n 759 default n
757 depends on PLATFORM_POSIX 760 depends on PLATFORM_POSIX || PLATFORM_MINGW32
758 help 761 help
759 tee is used to read from standard input and write 762 tee is used to read from standard input and write
760 to standard output and files. 763 to standard output and files.
@@ -769,7 +772,7 @@ config FEATURE_TEE_USE_BLOCK_IO
769config TEST 772config TEST
770 bool "test" 773 bool "test"
771 default n 774 default n
772 depends on PLATFORM_POSIX 775 depends on PLATFORM_POSIX || PLATFORM_MINGW32
773 help 776 help
774 test is used to check file types and compare values, 777 test is used to check file types and compare values,
775 returning an appropriate exit code. The bash shell 778 returning an appropriate exit code. The bash shell
@@ -785,7 +788,7 @@ config FEATURE_TEST_64
785config TOUCH 788config TOUCH
786 bool "touch" 789 bool "touch"
787 default n 790 default n
788 depends on PLATFORM_POSIX 791 depends on PLATFORM_POSIX || PLATFORM_MINGW32
789 help 792 help
790 touch is used to create or change the access and/or 793 touch is used to create or change the access and/or
791 modification timestamp of specified files. 794 modification timestamp of specified files.
@@ -793,7 +796,7 @@ config TOUCH
793config TR 796config TR
794 bool "tr" 797 bool "tr"
795 default n 798 default n
796 depends on PLATFORM_POSIX 799 depends on PLATFORM_POSIX || PLATFORM_MINGW32
797 help 800 help
798 tr is used to squeeze, and/or delete characters from standard 801 tr is used to squeeze, and/or delete characters from standard
799 input, writing to standard output. 802 input, writing to standard output.
@@ -820,7 +823,7 @@ config FEATURE_TR_EQUIV
820config TRUE 823config TRUE
821 bool "true" 824 bool "true"
822 default n 825 default n
823 depends on PLATFORM_POSIX 826 depends on PLATFORM_POSIX || PLATFORM_MINGW32
824 help 827 help
825 true returns an exit code of TRUE (0). 828 true returns an exit code of TRUE (0).
826 829
@@ -842,7 +845,7 @@ config UNAME
842config UNEXPAND 845config UNEXPAND
843 bool "unexpand" 846 bool "unexpand"
844 default n 847 default n
845 depends on PLATFORM_POSIX 848 depends on PLATFORM_POSIX || PLATFORM_MINGW32
846 help 849 help
847 By default, convert only leading sequences of blanks to tabs. 850 By default, convert only leading sequences of blanks to tabs.
848 851
@@ -856,7 +859,7 @@ config FEATURE_UNEXPAND_LONG_OPTIONS
856config UNIQ 859config UNIQ
857 bool "uniq" 860 bool "uniq"
858 default n 861 default n
859 depends on PLATFORM_POSIX 862 depends on PLATFORM_POSIX || PLATFORM_MINGW32
860 help 863 help
861 uniq is used to remove duplicate lines from a sorted file. 864 uniq is used to remove duplicate lines from a sorted file.
862 865
@@ -870,21 +873,21 @@ config USLEEP
870config UUDECODE 873config UUDECODE
871 bool "uudecode" 874 bool "uudecode"
872 default n 875 default n
873 depends on PLATFORM_POSIX 876 depends on PLATFORM_POSIX || PLATFORM_MINGW32
874 help 877 help
875 uudecode is used to decode a uuencoded file. 878 uudecode is used to decode a uuencoded file.
876 879
877config UUENCODE 880config UUENCODE
878 bool "uuencode" 881 bool "uuencode"
879 default n 882 default n
880 depends on PLATFORM_POSIX 883 depends on PLATFORM_POSIX || PLATFORM_MINGW32
881 help 884 help
882 uuencode is used to uuencode a file. 885 uuencode is used to uuencode a file.
883 886
884config WC 887config WC
885 bool "wc" 888 bool "wc"
886 default n 889 default n
887 depends on PLATFORM_POSIX 890 depends on PLATFORM_POSIX || PLATFORM_MINGW32
888 help 891 help
889 wc is used to print the number of bytes, words, and lines, 892 wc is used to print the number of bytes, words, and lines,
890 in specified files. 893 in specified files.
@@ -915,7 +918,7 @@ config WHOAMI
915config YES 918config YES
916 bool "yes" 919 bool "yes"
917 default n 920 default n
918 depends on PLATFORM_POSIX 921 depends on PLATFORM_POSIX || PLATFORM_MINGW32
919 help 922 help
920 yes is used to repeatedly output a specific string, or 923 yes is used to repeatedly output a specific string, or
921 the default string `y'. 924 the default string `y'.
@@ -927,6 +930,7 @@ config FEATURE_PRESERVE_HARDLINKS
927 bool "Preserve hard links" 930 bool "Preserve hard links"
928 default n 931 default n
929 depends on CP || MV 932 depends on CP || MV
933 depends on !PLATFORM_MINGW32
930 help 934 help
931 Allow cp and mv to preserve hard links. 935 Allow cp and mv to preserve hard links.
932 936