From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4191 Path: main.gmane.org!not-for-mail From: Marc van Dongen Newsgroups: gmane.comp.tex.context Subject: Re: metapost not invoked? mpgraph.1 not created Date: Wed, 21 Feb 2001 17:17:37 +0000 Sender: owner-ntg-context@let.uu.nl Message-ID: <20010221171737.G17491@cs.ucc.ie> References: <3.0.6.32.20010220125344.01cc87b0@server-1> <20010220155806.B15049@cs.ucc.ie> <20010221125141.B16050@cs.ucc.ie> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035394879 23697 80.91.224.250 (23 Oct 2002 17:41:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:41:19 +0000 (UTC) Cc: Hans Hagen , Patrick Gundlach , ConTeXt Original-To: Ed L Cashin In-Reply-To: ; from ecashin@coe.uga.edu on Wed, Feb 21, 2001 at 11:53:18AM -0500 Xref: main.gmane.org gmane.comp.tex.context:4191 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4191 Ed L Cashin (ecashin@coe.uga.edu) wrote: : That's not true for Bourne-style shells: : : $ foo=hi : $ perl -e 'print $ENV{"foo"} . "\n"' : : $ export foo : $ perl -e 'print $ENV{"foo"} . "\n"' : hi : $ foo=hi,there : $ perl -e 'print $ENV{"foo"} . "\n"' : hi,there It *is* for Bourne-style shells. If you run perl like you do, foo is dereferenced in the current shell. $ cat mytest #!/bin/sh echo ${MYVAR} $ MYVAR=howsagoin $ echo ${MYVAR} howsagoin $ mytest $ export MYVAR $ mytest howsagoin $ Regards, Marc