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: 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 "." ?
- From: richardson at evansville dot edu
- Date: Fri, 02 Mar 2001 17:26:12 GMT
- Reply-To: richardson at evansville dot edu
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?)
Tony Richardson
> -----Original Message-----
> From: rodmant@pounder.sol.net [mailto:rodmant@pounder.sol.net]
> Sent: Friday, March 02, 2001 8:27 AM
> To: cygwin@sources.redhat.com
> Subject: how2 read value of DOS env var containing a "." ?
>
>
> Can any one figure out how to read the value of
> a DOS environmental variable that contains a "." in it's
> name. I would like to stay in a bash shell (ie
> avoid using perl, and avoid invoking cmd.exe).
>
> thanks,
>
> Tom
> rodmant@pounder.sol.net
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple