bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFE? request for an "undefined" attribute for functions


From: Chet Ramey
Subject: Re: RFE? request for an "undefined" attribute for functions
Date: Mon, 02 Aug 2010 16:13:16 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1

On 8/1/10 9:10 PM, Linda Walsh wrote:
> 
> 
> 
> I had(have) several functions that I don't use on a regular basis (rarely), 
> that
> I had put into a subdir "func_lib" under my local-definitions directory.
> This came from ksh, which allows you to define functions with an "undef" 
> attribute,
> and at runtime, the first time these functions were referenced,
> 
> Is this something that might have been considered for bash?  It seems like it
> could have some usefulness?

There are several versions of `autoload' in examples/functions.

Chet
-- 
``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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]