This is the mail archive of the
cygwin
mailing list for the Cygwin project.
environment variable name converted to upper case
- From: "Koduru, Seshasai" <Seshasai dot Koduru at ca dot com>
- To: <cygwin at cygwin dot com>
- Date: Sat, 21 Aug 2004 21:30:53 +0530
- Subject: 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/