From owner-cvs-src@FreeBSD.ORG Thu Jul 27 20:36:26 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC3CB16A4DA; Thu, 27 Jul 2006 20:36:26 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 023F843D70; Thu, 27 Jul 2006 20:36:22 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k6RKaLfY008644; Fri, 28 Jul 2006 00:36:21 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k6RKaL9g008643; Fri, 28 Jul 2006 00:36:21 +0400 (MSD) (envelope-from yar) Date: Fri, 28 Jul 2006 00:36:20 +0400 From: Yar Tikhiy To: Andrey Chernov , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org Message-ID: <20060727203620.GF5075@comp.chem.msu.su> References: <200607271908.k6RJ8Los011463@repoman.freebsd.org> <20060727200602.GA99525@nagual.pp.ru> <20060727200802.GB99525@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060727200802.GB99525@nagual.pp.ru> User-Agent: Mutt/1.5.9i Cc: Subject: Re: cvs commit: src/bin/test test.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2006 20:36:26 -0000 On Fri, Jul 28, 2006 at 12:08:02AM +0400, Andrey Chernov wrote: > On Fri, Jul 28, 2006 at 12:06:02AM +0400, Andrey Chernov wrote: > > On Thu, Jul 27, 2006 at 07:08:21PM +0000, Yar Tikhiy wrote: > > > yar 2006-07-27 19:08:21 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > bin/test test.1 > > > 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. > > > > We should examine what POSIX or POSIX test suits says here, if any. > > I mean, in the sh(1), not in the test(1) which is command line and nothing > can be done here due to pre-parsed args. test(1) has quite a job to do by itself, e.g., to invoke stat(2) and access(2) on the files. I didn't mean pre-parsing by the shell at all. -- Yar