delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/06/14:46:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
From: "Daniel Colascione" <dan DOT colascione AT gmail DOT com>
To: "'Nellis, Kenneth'" <Kenneth DOT Nellis AT acs-inc DOT com>, <cygwin AT cygwin DOT com>
References: <2BF01EB27B56CC478AD6E5A0A28931F2013024D9 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net>
In-Reply-To: <2BF01EB27B56CC478AD6E5A0A28931F2013024D9@A1DAL1SWPES19MB.ams.acs-inc.net>
Subject: RE: incompatible environment variable names
Date: Fri, 6 Aug 2010 11:45:55 -0700
Message-ID: <008001cb3597$a51f5920$ef5e0b60$@gmail.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Nellis, Kenneth:
> I came across an interesting (IMHO) incompatibility between Windows and b=
ash environment variable names.

You can create odd environment names on Unixish systems too, but nobody rel=
ies on them.

I've had the same issue; a build environment I use required the presence of=
 variable names with '(' and ')' in them. For the moment, I've hacked aroun=
d the issue by calling cmd.exe to do the work before launching the build sy=
stem proper, but eventually, in my Copious Free Time(TM), my plan is to pat=
ch bash and add raw-getenv and raw-setenv builtins that do the obvious thin=
g.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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