Questions about/issues with new OPTIONS framework

Doug Barton dougb at dougbarton.us
Wed Aug 8 08:08:29 UTC 2012


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



More information about the freebsd-ports mailing list