delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | environment variable name converted to upper case |
Date: | Sat, 21 Aug 2004 21:30:53 +0530 |
Message-ID: | <5C97FD5F888F6C41B267BBBCE94DC4E71B4E75@inhyms21.ca.com> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Koduru, Seshasai" <Seshasai DOT Koduru AT ca DOT com> |
To: | <cygwin AT cygwin DOT com> |
X-OriginalArrivalTime: | 21 Aug 2004 16:00:54.0212 (UTC) FILETIME=[09C85840:01C48798] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id i7LG11eL001529 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |