Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2] Test t5560: Fix test when run with dash

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:02

Johannes Sixt [off-list ref] 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".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help