On Tue, Feb 18, 2014 at 12:13:31 -0500, Brad King wrote:
> Environment variable names can contain '(' or ')', at least on Windows:
>
> >set a(b)=c
> >echo %a(b)%
> c
>
> Perhaps this obscure case can be supported with nested evaluation though.
You can do it with the setenv(3) call in Linux as well, but bash doesn't
like it at all (env(1) can do it though). csh's setenv allows it too.
The fact that they were only supported when quoted (probably because of
the command-parser step) is surprising enough that I'd say we can just
use indirection to handle it.
--Ben
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers