Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2006 14:56:13 +0200
From:      des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=)
To:        Yar Tikhiy <yar@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/test test.1
Message-ID:  <86lkqdvqfm.fsf@xps.des.no>
In-Reply-To: <200607271908.k6RJ8Los011463@repoman.freebsd.org> (Yar Tikhiy's message of "Thu, 27 Jul 2006 19:08:21 %2B0000 (UTC)")
References:  <200607271908.k6RJ8Los011463@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yar Tikhiy <yar@FreeBSD.org> writes:
>   Log:
>   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.

I don't understand what the issue is.  None of test's operators have
side effects, so shortcut evaluation makes no difference.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86lkqdvqfm.fsf>