From: Junio C Hamano Date: Fri, 15 Jan 2010 19:53:35 GMT Subject: Re: [PATCH v2] Test t5560: Fix test when run with dash Message-ID: <7vr5prxhz4.fsf@alter.siamese.dyndns.org> In-Reply-To: <201001152017.00121.j6t@kdbg.org> Johannes Sixt writes: > These are exactly the definitions that I meant. The statement that variables > are not exported is in "2.9.1 Simple Commands" > http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_01 > > "[If there is a command name], the variable assignments shall be exported for > the execution environment of the command and shall not affect the current > execution environment (except for special built-ins)." Note the "except for special built-ins". I was unsure yesterday because it does not say "except for special built-ins and shell functions".