Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sat, 21 Aug 2004 12:21:10 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: environment variable name converted to upper case
Message-ID: <20040821162110.GA3596@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <5C97FD5F888F6C41B267BBBCE94DC4E71B4E75@inhyms21.ca.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5C97FD5F888F6C41B267BBBCE94DC4E71B4E75@inhyms21.ca.com>
User-Agent: Mutt/1.4.1i

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/

