This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: how2 read value of DOS env var containing a "." ?
- To: richardson at evansville dot edu
- Subject: Re: how2 read value of DOS env var containing a "." ?
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Fri, 02 Mar 2001 12:46:33 -0500
- CC: rodmant at pounder dot sol dot net, cygwin at sources dot redhat dot com
- References: <20010302.17261236@ar63pc.cecs.evansville.edu>
- Reply-To: Earnie Boyd <cygwin at cygwin dot com>
richardson@evansville.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