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: environment variable name converted to upper case


On Sat, Aug 21, 2004 at 09:30:53PM +0530, Koduru, Seshasai wrote:
>An environment variable name defined in windows environment with
>lowercase is converted to uppercase by cygwin environment.
>
>Because of this behavior the shell scripts are not recognizing
>$lowercase variable. Is this the regular expected behavior?

Yes.

>Is there any way to get the case preserved?

Don't set the environment variable at the windows level.  Set it
in the shell prior to running the program.

If that isn't adequate, then there probably isn't any way to do
what you want.

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


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