[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] make function local
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] make function local |
Date: |
Tue, 07 Apr 2015 21:49:24 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 4/7/15 4:13 PM, Peng Yu wrote:
> Hi, Currently, bash does not support local function. But it might be
> helpful to add such a feature, so that function can become a first
> class citizen in the language. Could this be considered in the future?
Is there a particular problem you're trying to solve for which local
functions would be the appropriate solution?
--
``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/