Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: richardson AT evansville DOT edu Date: Fri, 02 Mar 2001 17:26:12 GMT Message-ID: <20010302.17261236@ar63pc.cecs.evansville.edu> Subject: 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 Reply-To: richardson AT evansville DOT edu X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Win32) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id MAA24047 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 AT pounder DOT sol DOT net [mailto:rodmant AT pounder DOT sol DOT net] > Sent: Friday, March 02, 2001 8:27 AM > To: cygwin AT sources DOT redhat DOT 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 AT pounder DOT sol DOT 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