This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: incompatible environment variable names


On 4 August 2010 19:59, Nellis, Kenneth wrote:
>> > Cygwin> export QNX_VISUAL_C++_PATH="$(cygpath "$(printenv
>> QNX_VISUAL_C++_PATH)")"
>> > -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.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]