incompatible environment variable names

Andy Koppe
Wed Aug 4 19:06:00 GMT 2010

On 4 August 2010 19:59, Nellis, Kenneth wrote:
>> > Cygwin> export QNX_VISUAL_C++_PATH="$(cygpath "$(printenv
>> > -bash: export: `QNX_VISUAL_C++_PATH=/cygdrive/c/Program Files/Orbital
>> Qnx VisualC++ IDE': not a valid identifier
>> > Cygwin>
>> >
>> > I probably need to give up on this, but felt like sharing my misery.
>> bash does not support the plus character in a variable name and
>> no amount of finagling is going to fix it.
> Well, *somehow* it got into the Cygwin environment, and cygwin.bat directly
> invokes bash, so I interpret this as bash creating the Cygwin environment.
> Where is the hole in this logic?

The Windows environment is translated by the Cygwin DLL, which gets
loaded and initialised when bash.exe is invoked.


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list