From d5eca0eeb7d2a12f94a3c25ea5b092fbac93e6c6 Mon Sep 17 00:00:00 2001 From: Nguyễn Thái Ngọc Duy Date: Wed, 14 Apr 2010 04:44:04 +0200 Subject: win32: Unmask (partly) coreutils MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nguyễn Thái Ngọc Duy --- coreutils/Config.in | 98 ++++++++++++++++++++++++++++------------------------- 1 file 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" config BASENAME bool "basename" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help basename is used to strip the directory and suffix from filenames, leaving just the filename itself. Enable this option if you wish @@ -17,14 +17,14 @@ config BASENAME config CAL bool "cal" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help cal is used to display a monthly calender. config CAT bool "cat" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help cat is used to concatenate files and print them to the standard output. Enable this option if you wish to enable the 'cat' utility. @@ -32,7 +32,7 @@ config CAT config CATV bool "catv" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help Display nonprinting characters as escape sequences (like some implementations' cat -v option). @@ -77,14 +77,14 @@ config CHROOT config CKSUM bool "cksum" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help cksum is used to calculate the CRC32 checksum of a file. config COMM bool "comm" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help comm is used to compare two files line by line and return a three-column output. @@ -92,7 +92,7 @@ config COMM config CP bool "cp" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help cp is used to copy files and directories. @@ -107,7 +107,7 @@ config FEATURE_CP_LONG_OPTIONS config CUT bool "cut" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help cut is used to print selected parts of lines from each file to stdout. @@ -147,7 +147,7 @@ config FEATURE_DATE_COMPAT config DD bool "dd" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help dd copies a file (from standard input to standard output, by default) using specific input and output blocksizes, @@ -157,6 +157,7 @@ config FEATURE_DD_SIGNAL_HANDLING bool "Enable DD signal handling for status reporting" default y depends on DD + depends on !PLATFORM_MINGW32 help Sending a SIGUSR1 signal to a running `dd' process makes it print to standard error the number of records read and written @@ -171,6 +172,7 @@ config FEATURE_DD_THIRD_STATUS_LINE bool "Enable the third status line upon signal" default n depends on DD && FEATURE_DD_SIGNAL_HANDLING + depends on !PLATFORM_MINGW32 help Displays a coreutils-like third status line with transferred bytes, elapsed time and speed. @@ -205,7 +207,7 @@ config FEATURE_DF_FANCY config DIRNAME bool "dirname" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help dirname is used to strip a non-directory suffix from a file name. @@ -213,7 +215,7 @@ config DIRNAME config DOS2UNIX bool "dos2unix/unix2dos" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help dos2unix is used to convert a text file from DOS format to UNIX format, and vice versa. @@ -244,7 +246,7 @@ config FEATURE_DU_DEFAULT_BLOCKSIZE_1K config ECHO bool "echo (basic SuSv3 version taking no options)" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help echo is used to print a specified string to stdout. @@ -259,7 +261,7 @@ config FEATURE_FANCY_ECHO config ENV bool "env" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help env is used to set an environment variable and run a command; without options it displays the current @@ -275,7 +277,7 @@ config FEATURE_ENV_LONG_OPTIONS config EXPAND bool "expand" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help By default, convert all tabs to spaces. @@ -289,7 +291,7 @@ config FEATURE_EXPAND_LONG_OPTIONS config EXPR bool "expr" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help expr is used to calculate numbers and print the result to standard output. @@ -306,14 +308,14 @@ config EXPR_MATH_SUPPORT_64 config FALSE bool "false" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help false returns an exit code of FALSE (1). config FOLD bool "fold" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help Wrap text to fit a specific width. @@ -327,7 +329,7 @@ config FSYNC config HEAD bool "head" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help head is used to print the first specified number of lines from files. @@ -371,7 +373,7 @@ config FEATURE_INSTALL_LONG_OPTIONS config LENGTH bool "length" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help length is used to print out the length of a specified string. @@ -392,7 +394,7 @@ config LOGNAME config LS bool "ls" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help ls is used to list the contents of directories. @@ -459,14 +461,14 @@ config FEATURE_LS_COLOR_IS_DEFAULT config MD5SUM bool "md5sum" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help md5sum is used to print or check MD5 checksums. config MKDIR bool "mkdir" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help mkdir is used to create directories with the specified names. @@ -496,7 +498,7 @@ config MKNOD config MV bool "mv" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help mv is used to move or rename files or directories. @@ -524,21 +526,21 @@ config NOHUP config OD bool "od" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help od is used to dump binary files in octal and other formats. config PRINTENV bool "printenv" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help printenv is used to print all or part of environment. config PRINTF bool "printf" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help printf is used to format and print specified strings. It's similar to `echo' except it has more options. @@ -546,7 +548,7 @@ config PRINTF config PWD bool "pwd" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help pwd is used to print the current directory. @@ -576,14 +578,14 @@ config REALPATH config RM bool "rm" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help rm is used to remove files or directories. config RMDIR bool "rmdir" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help rmdir is used to remove empty directories. @@ -598,7 +600,7 @@ config FEATURE_RMDIR_LONG_OPTIONS config SEQ bool "seq" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help print a sequence of numbers @@ -626,7 +628,7 @@ config SHA512SUM config SLEEP bool "sleep" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help sleep is used to pause for a specified number of seconds. It comes in 3 versions: @@ -649,13 +651,14 @@ config FEATURE_FLOAT_SLEEP bool "Enable fractional arguments" default n depends on FEATURE_FANCY_SLEEP + depends on !PLATFORM_MINGW32 help Allow for fractional numeric parameters. config SORT bool "sort" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help sort is used to sort lines of text in specified files. @@ -674,7 +677,7 @@ config FEATURE_SORT_BIG config SPLIT bool "split" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help split a file into pieces. @@ -713,7 +716,7 @@ config STTY config SUM bool "sum" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help checksum and count the blocks in a file @@ -727,14 +730,14 @@ config SYNC config TAC bool "tac" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help tac is used to concatenate and print files in reverse. config TAIL bool "tail" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help tail is used to print the last specified number of lines from files. @@ -754,7 +757,7 @@ config FEATURE_FANCY_TAIL config TEE bool "tee" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help tee is used to read from standard input and write to standard output and files. @@ -769,7 +772,7 @@ config FEATURE_TEE_USE_BLOCK_IO config TEST bool "test" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help test is used to check file types and compare values, returning an appropriate exit code. The bash shell @@ -785,7 +788,7 @@ config FEATURE_TEST_64 config TOUCH bool "touch" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help touch is used to create or change the access and/or modification timestamp of specified files. @@ -793,7 +796,7 @@ config TOUCH config TR bool "tr" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help tr is used to squeeze, and/or delete characters from standard input, writing to standard output. @@ -820,7 +823,7 @@ config FEATURE_TR_EQUIV config TRUE bool "true" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help true returns an exit code of TRUE (0). @@ -842,7 +845,7 @@ config UNAME config UNEXPAND bool "unexpand" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help By default, convert only leading sequences of blanks to tabs. @@ -856,7 +859,7 @@ config FEATURE_UNEXPAND_LONG_OPTIONS config UNIQ bool "uniq" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help uniq is used to remove duplicate lines from a sorted file. @@ -870,21 +873,21 @@ config USLEEP config UUDECODE bool "uudecode" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help uudecode is used to decode a uuencoded file. config UUENCODE bool "uuencode" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help uuencode is used to uuencode a file. config WC bool "wc" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help wc is used to print the number of bytes, words, and lines, in specified files. @@ -915,7 +918,7 @@ config WHOAMI config YES bool "yes" default n - depends on PLATFORM_POSIX + depends on PLATFORM_POSIX || PLATFORM_MINGW32 help yes is used to repeatedly output a specific string, or the default string `y'. @@ -927,6 +930,7 @@ config FEATURE_PRESERVE_HARDLINKS bool "Preserve hard links" default n depends on CP || MV + depends on !PLATFORM_MINGW32 help Allow cp and mv to preserve hard links. -- cgit v1.2.3-55-g6feb