On 4/19/16 7:45 AM, David Maas wrote:
> Running the echo and other contents of the function really doesn't seem
> like the correct behavior. If the function isn't called, then its contents
> shouldn't be executed. 

There are no `function contents'.  There is no function.  There was a
syntax error while parsing the compound command that is the function
body, which results in the error recovery behavior you observed.


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to