Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
On 6/4/12 1:10 PM, Peng Yu wrote:
> Hi,
>
> I think that there is no way to define a local function in function.
There are no local functions in bash (or sh, or Posix). Regardless of
when or how they are defined, all functions are global.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/