cvs commit: src/bin/test test.1

Yar Tikhiy yar at comp.chem.msu.su
Thu Jul 27 20:36:26 UTC 2006


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


More information about the cvs-src mailing list