From 31faa61270d33d103a88108d4efc6c1b1ca5b0c6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 May 1995 02:26:18 +0000 Subject: (usage): Remove duplicate descriptions of --help and --version. From Karl Berry. --- src/test.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/test.c b/src/test.c index 4f1315261..2b37f78c3 100644 --- a/src/test.c +++ b/src/test.c @@ -20,7 +20,7 @@ with Bash; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* Define TEST_STANDALONE to get the /bin/test version. Otherwise, you get +/* Define TEST_STANDALONE to get the /bin/test version. Otherwise, you get the shell builtin version. */ /* #define TEST_STANDALONE */ @@ -365,7 +365,7 @@ term () return (value ^ (term ())); } - /* A paren-bracketed argument. */ + /* A paren-bracketed argument. */ if (argv[pos][0] == '(' && !argv[pos][1]) { advance (1); @@ -817,7 +817,7 @@ unary_operator () return (TRUE == (argv[pos - 1][0] == '\0')); } } - + /* * and: * term @@ -1039,16 +1039,12 @@ EXPRESSION is true or false and sets exit status. It is one of:\n\ -p FILE FILE exists and is a named pipe\n\ -r FILE FILE exists and is readable\n\ -s FILE FILE exists and has a size greater than zero\n\ - -t standard output is opened on a terminal\n\ - -t FD file descriptor FD is opened on a terminal\n\ + -t [FD] file descriptor FD (stdout by default) is opened on a terminal\n\ -u FILE FILE exists and its set-user-ID bit is set\n\ -w FILE FILE exists and is writable\n\ -x FILE FILE exists and is executable\n\ "); printf ("\ -\n\ - --help display this help and exit\n\ - --version output version information and exit\n\ \n\ Beware that parentheses need to be escaped by backslashes for shells.\n\ INTEGER may also be -l STRING, which evaluates to the length of STRING.\n\ -- cgit v1.2.3-54-g00ecf