Re: [PATCH v2] Test t5560: Fix test when run with dash
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 15, 2010, 19:53 UTC
- Message-ID
- <7vr5prxhz4.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <201001152017.00121.j6t@kdbg.org>
Johannes Sixt <j6t@kdbg.org> writes:
Show 7 quoted lines
> 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".