delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/21/12:20:40

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
Date: Sat, 21 Aug 2004 12:21:10 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: environment variable name converted to upper case
Message-ID: <20040821162110.GA3596@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5C97FD5F888F6C41B267BBBCE94DC4E71B4E75 AT inhyms21 DOT ca DOT com>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019