summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-07-31 09:25:20 +0000
committeryar <yar@FreeBSD.org>2006-07-31 09:25:20 +0000
commit19e36da670be5b9ed5ae507115cd54cfb7549ed1 (patch)
tree9d3571d44f52d02e174ae12d21531f76c9bf83a3 /bin
parent1ac17adabf260fee70b38afd8bb2c0fd23c3ec2d (diff)
downloadFreeBSD-src-19e36da670be5b9ed5ae507115cd54cfb7549ed1.zip
FreeBSD-src-19e36da670be5b9ed5ae507115cd54cfb7549ed1.tar.gz
Granting the amount of misunderstanding the last change received,
extend it with an example to clarify the point.
Diffstat (limited to 'bin')
-rw-r--r--bin/test/test.18
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/test/test.1 b/bin/test/test.1
index a052f86..f2649cd 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 27, 2006
+.Dd July 31, 2006
.Dt TEST 1
.Os
.Sh NAME
@@ -339,3 +339,9 @@ 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 ]"
OpenPOWER on IntegriCloud