Re: environment variable name converted to upper case

2004-08-24 Thread Shankar Unni
Larry Hall wrote: I'm not sure what you mean by 'Posix shells'. Shells that come with the Cygwin environment don't expect uppercase. Windows (and DOS) do, really. OK, I was a little imprecise. What I was trying to say was that NT *shells* preserves case in environment variables, but is case-inse

Re: environment variable name converted to upper case

2004-08-23 Thread Christopher Faylor
On Mon, Aug 23, 2004 at 02:13:56PM -0700, Shankar Unni wrote: >Christopher Faylor wrote: >>To repeat, translating environment variables to uppercase is something >>that *cygwin* does. Check out environ.cc for more information. > >Could the uppercasing be limited to certain environment variables? >

Re: environment variable name converted to upper case

2004-08-23 Thread Larry Hall
At 05:13 PM 8/23/2004, you wrote: >Christopher Faylor wrote: > >>To repeat, translating environment variables to uppercase is something >>that *cygwin* does. Check out environ.cc for more information. > >Could the uppercasing be limited to certain environment variables? Particularly, only >PATH,

Re: environment variable name converted to upper case

2004-08-23 Thread Shankar Unni
Christopher Faylor wrote: To repeat, translating environment variables to uppercase is something that *cygwin* does. Check out environ.cc for more information. Could the uppercasing be limited to certain environment variables? Particularly, only PATH, since that's common to both NT and Posix she

Re: environment variable name converted to upper case

2004-08-22 Thread Igor Pechtchanski
On Sun, 22 Aug 2004, Christopher Faylor wrote: > On Sat, Aug 21, 2004 at 01:06:50PM -0400, Buchbinder, Barry (NIH/NIAID) wrote: > >To expand on what Chris wrote, this is caused by the fact that in > >command.com (but not cmd.exe as supplied by XP - I don't know about > >earlier versions of cmd.exe

Re: environment variable name converted to upper case

2004-08-22 Thread Christopher Faylor
On Sat, Aug 21, 2004 at 01:06:50PM -0400, Buchbinder, Barry (NIH/NIAID) wrote: >To expand on what Chris wrote, this is caused by the fact that in >command.com (but not cmd.exe as supplied by XP - I don't know about >earlier versions of cmd.exe) all user-setable Windows environmental >variable are u

RE: environment variable name converted to upper case

2004-08-21 Thread Igor Pechtchanski
le in the shell is *the* only way to do it, independent of the OS. HTH, Igor [*] Example 3 from <http://msdn.microsoft.com/library/en-us/dllproc/base/changing_environment_variables.asp> > -Original Message- > From: Christopher Faylor [mailto:[EMAIL PROTECTED] > Sent: Sa

RE: environment variable name converted to upper case

2004-08-21 Thread Buchbinder, Barry (NIH/NIAID)
y to do it. -Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED] Sent: Saturday, August 21, 2004 12:21 PM To: [EMAIL PROTECTED] Subject: Re: environment variable name converted to upper case On Sat, Aug 21, 2004 at 09:30:53PM +0530, Koduru, Seshasai wrote: >An environ

Re: environment variable name converted to upper case

2004-08-21 Thread Christopher Faylor
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

environment variable name converted to upper case

2004-08-21 Thread Koduru, Seshasai
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 | gr