aboutsummaryrefslogtreecommitdiff
path: root/bin/test
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2000-12-08 13:40:55 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2000-12-08 13:40:55 +0000
commitd166f30f86d4e7ccc2de2332cd622d99764efef7 (patch)
treef75f49d746a5da83150ed8526c799d557ea72d4e /bin/test
parent6bf0a0d7f0ed787b000680e5823c2383b0c9e477 (diff)
Notes
Diffstat (limited to 'bin/test')
-rw-r--r--bin/test/test.114
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/test/test.1 b/bin/test/test.1
index da9686bc58f1..fde84341164d 100644
--- a/bin/test/test.1
+++ b/bin/test/test.1
@@ -43,13 +43,13 @@
.Nm \&[
.Nd condition evaluation utility
.Sh SYNOPSIS
-.Nm test
+.Nm
.Ar expression
-.Nm [
+.Nm \&[
.Ar expression Cm ]
.Sh DESCRIPTION
The
-.Nm test
+.Nm
utility evaluates the expression and, if it evaluates
to true, returns a zero (true) exit status; otherwise
it returns 1 (false).
@@ -57,7 +57,7 @@ If there is no expression, test also
returns 1 (false).
.Pp
All operators and flags are separate arguments to the
-.Nm test
+.Nm
utility.
.Pp
The following primaries are used to construct expression:
@@ -288,7 +288,7 @@ operator has higher precedence than the
operator.
.Sh GRAMMAR AMBIGUITY
The
-.Nm test
+.Nm
grammar is inherently ambiguous. In order to assure a degree of consistency,
the cases described in the
.St -p1003.2 ,
@@ -298,7 +298,7 @@ standards document. All other cases are subject to the ambiguity in the
command semantics.
.Sh RETURN VALUES
The
-.Nm test
+.Nm
utility exits with one of the following values:
.Bl -tag -width Ds
.It 0
@@ -314,7 +314,7 @@ An error occurred.
.Xr sh 1
.Sh STANDARDS
The
-.Nm test
+.Nm
utility implements a superset of the
.St -p1003.2
specification.