On 10/1/17 9:15 AM, Martijn Dekker wrote:
> 2.9.4 Compound Commands
> [...]
> { compound-list ; }
> Execute compound-list in the current process environment.
>
> This means any compound-command in that form (which therefore includes
> any such compound-command that is the body of a function definition), is
> executed in the current process environment.
This sentence: "The compound-command shall be executed whenever the
function name is specified as the name of a simple command" from the
function definition description supports that interpretation.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/