Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Aug 2012 01:08:18 -0700
From:      Doug Barton <dougb@dougbarton.us>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Questions about/issues with new OPTIONS framework
Message-ID:  <50221E72.3050704@dougbarton.us>
In-Reply-To: <50220D03.1080306@infracaninophile.co.uk>
References:  <20120806160425.GA23270@icarus.home.lan> <502161C6.70801@FreeBSD.org> <20120807193029.GA26868@icarus.home.lan> <5022063D.3090106@infracaninophile.co.uk> <50220D03.1080306@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/07/2012 11:53 PM, Matthew Seaman wrote:
> On 08/08/2012 07:25, Matthew Seaman wrote:
>> Actually, that raises an important point, because the constructed
>> variable names like 'mysql55-client_SET' should perhaps have
>> syntactically significant characters like '-', '+' mapped to '_'
> 
> Interesting.  A very quick test shows that make(1) variables seem to
> work just fine despite those significant characters:
> 
> % cat Makefile
> 
> Foo-bar= wibble
> Baz+QUX= flonk
> 
> all:
> 	@echo ${Foo-bar}
> 	@echo ${Baz+QUX}
> 
> % make
> wibble
> flonk

It would be less good for those of us who manipulate such things in
Bourne shell. :)

Doug




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50221E72.3050704>