From: David Kastrup Date: Wed, 28 Nov 2007 22:53:13 GMT Subject: Re: [PATCH v2] Replace instances of export VAR=VAL with VAR=VAL; export VAR Message-ID: <85sl2q6kyu.fsf@lola.goethe.zz> In-Reply-To: <7vzlwy2dkm.fsf@gitster.siamese.dyndns.org> Junio C Hamano writes: > David Kastrup writes: > >> Johannes Schindelin writes: >> >>> It might be POSIX, but there are shells that do not like the >>> expression 'export VAR=VAL'. >> >> As long as we have no positive report about any such shell that >> _otherwise_ would be usable for git, why bother? > > I thought somebody already mention that ash mishandles "export VAR=VAL" > but otherwise Ok. dak@lola:~$ ash $ export JUNK=woozle $ sh -c 'echo $JUNK' woozle $ exit dak@lola:~$ dash $ export JUNK=woozle $ sh -c 'echo $JUNK' woozle $ exit What problem are we talking about exactly, and with what shell? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum