summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2006-08-01 09:53:53 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2006-08-01 09:53:53 +0000
commit1df1f13b9a4cd8ef483dd5e089b64da8b997595c (patch)
treec73efa052380cb4aaa035f4f726da75625acc291 /bin
parent0240da0c656dc5cc6e02f090534306fa2274c692 (diff)
downloadsrc-test2-1df1f13b9a4cd8ef483dd5e089b64da8b997595c.tar.gz
src-test2-1df1f13b9a4cd8ef483dd5e089b64da8b997595c.zip
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/test/test.115
1 files changed, 14 insertions, 1 deletions
diff --git a/bin/test/test.1 b/bin/test/test.1
index df6a29021cb2..f2649cdb51cc 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 31, 2006
.Dt TEST 1
.Os
.Sh NAME
@@ -332,3 +332,16 @@ 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 .
+For instance, the writable status of
+.Pa file
+will be tested by the following command even though the former expression
+indicated false, which results in a gratuitous access to the file system:
+.Pp
+.Dl "[ -z abc -a -w file ]"