On 3/3/12 5:09 AM, John Kearney wrote:

>>> On the other hand, there is the possibility to add FPATH and autoload like
>>> in ksh93 ...
>>> I haven't think to much about it but my guess is that it would really be
>>> easy to implement a module system with that.

An autoload that uses FPATH is trivial.  There are three versions in
examples/functions in the bash distribution.  They've been there for
over ten years.  You can, of course, get more complicated.

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