This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: environment variable name converted to upper case
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 21 Aug 2004 12:21:10 -0400
- Subject: Re: environment variable name converted to upper case
- References: <5C97FD5F888F6C41B267BBBCE94DC4E71B4E75@inhyms21.ca.com>
- Reply-to: cygwin at cygwin dot com
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/