summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-13 02:26:18 +0000
committerJim Meyering <jim@meyering.net>1995-05-13 02:26:18 +0000
commit31faa61270d33d103a88108d4efc6c1b1ca5b0c6 (patch)
tree11b321d458533c54a0d6fddcaed8c674bc786af6
parent7108d098aef7325aa43c639958b26ced5d2243eb (diff)
downloadcoreutils-31faa61270d33d103a88108d4efc6c1b1ca5b0c6.tar.xz
(usage): Remove duplicate descriptions of --help and --version.
From Karl Berry.
-rw-r--r--src/test.c12
1 files 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,17 +1039,13 @@ 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\
");