delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/02/12:47:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A9FDC79.EF1EE20F@yahoo.com>
Date: Fri, 02 Mar 2001 12:46:33 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: richardson AT evansville DOT edu
CC: rodmant AT pounder DOT sol DOT net, cygwin AT sources DOT redhat DOT com
Subject: Re: how2 read value of DOS env var containing a "." ?
References: <20010302 DOT 17261236 AT ar63pc DOT cecs DOT evansville DOT edu>

richardson AT evansville DOT edu wrote:
> 
> Not pretty, but works:
> 
> bashvar=$(set | grep DOS.VAR | cut -d= -f2)
> 
> (I didn't know that bash vars couldn't have "."s in their
> names. I wonder why not?)
> 

Uhm, just because it was programmed not too?  Use the source, Luke.
(tm)  It is very easily modifiable.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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