summaryrefslogtreecommitdiffstats
path: root/bin/test
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-07-27 19:08:21 +0000
committeryar <yar@FreeBSD.org>2006-07-27 19:08:21 +0000
commit70bf44eb7caea5f0ffbf47cfe811926c04d5e2b8 (patch)
tree954343b4298437d7589502ec594c2eef6f4d5158 /bin/test
parent54901d291e39a186903f6f65d4c40c0798ed70f1 (diff)
downloadFreeBSD-src-70bf44eb7caea5f0ffbf47cfe811926c04d5e2b8.zip
FreeBSD-src-70bf44eb7caea5f0ffbf47cfe811926c04d5e2b8.tar.gz
Document that both sides of -a or -o are always evaluated. This
"feature" doesn't seem to be in the standards or elsewhere, and it is against what we are used to in C and sh(1), so put the paragraph under BUGS. Pointed out by: dougb MFC after: 3 days
Diffstat (limited to 'bin/test')
-rw-r--r--bin/test/test.19
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/test/test.1 b/bin/test/test.1
index df6a290..a052f86 100644
--- a/bin/test/test.1
+++ b/bin/test/test.1
@@ -32,7 +32,7 @@
.\" @(#)test.1 8.1 (Berkeley) 5/31/93
.\" $FreeBSD$
.\"
-.Dd July 3, 2004
+.Dd July 27, 2006
.Dt TEST 1
.Os
.Sh NAME
@@ -332,3 +332,10 @@ The
utility implements a superset of the
.St -p1003.2
specification.
+.Sh BUGS
+Both sides are always evaluated in
+.Fl a
+and
+.Fl o ,
+unlike in the logical operators of
+.Xr sh 1 .
OpenPOWER on IntegriCloud