From 70bf44eb7caea5f0ffbf47cfe811926c04d5e2b8 Mon Sep 17 00:00:00 2001 From: yar Date: Thu, 27 Jul 2006 19:08:21 +0000 Subject: 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 --- bin/test/test.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'bin') 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 . -- cgit v1.1