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]

environment variable name converted to upper case


Hi,

An environment variable name defined in windows environment with
lowercase is converted to uppercase by cygwin environment. Following is
the test case:

---------start----------
C:\>set lowercase=Windows Variable

C:\>echo %lowercase%
Windows Variable

C:\>which env
/usr/bin/env

C:\>env | grep -i lowercase
LOWERCASE=Windows Variable
---------end----------

Because of this behavior the shell scripts are not recognizing
$lowercase variable. Is this the regular expected behavior? Is there any
way to get the case preserved?

Thanks,
Seshasai

--
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]