Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2002 18:54:25 -0700 (PDT)
From:      Matthew Jacob <mjacob@feral.com>
To:        Peter Wemm <peter@wemm.org>
Cc:        Scott Long <scott_long@btc.adaptec.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf files 
Message-ID:  <Pine.BSF.4.21.0208311854050.1226-100000@beppo>
In-Reply-To: <20020901002607.99A852A7D6@canning.wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

IIRC, Digital Unix (Tru64) did this, but they used single |, &.


On Sat, 31 Aug 2002, Peter Wemm wrote:

> Scott Long wrote:
> > On Sat, Aug 31, 2002 at 04:30:16PM -0700, Peter Wemm wrote:
> > > peter       2002/08/31 16:30:16 PDT
> > > 
> > >   Modified files:
> > >     sys/conf             files 
> > >   Log:
> > >   'aicasm optional ahc ahd' means 'build aicasm only if BOTH ahc and ahd
> > >   are specified'.  Ie: it is a logical and, not a logical or.
> > >   
> > >   Revision  Changes    Path
> > >   1.694     +6 -1      src/sys/conf/files
> > 
> > Thanks!  I was just logging in to fix that.
> 
> I'm trying to think of some syntax to tell config to do boolean style
> expressions here.
> 
> presently we have the following...
> 
> logical and:
> file	optional	bar baz
> 
> logical or:
> file	optional	bar
> file	optional	baz
> 
> I'm thinking about changing it so that it accepts a ( ) boolean expression,
> eg:
> file	optional	bar && baz
> file	optional	bar || baz
> file	optional	(bar || baz) && !foo
> 
> Cheers,
> -Peter
> --
> Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
> "All of this is for nothing if we don't go to the stars" - JMS/B5
> 
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0208311854050.1226-100000>