[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash 4.2 breaks source finding libs in lib/filename...
From: |
Chet Ramey |
Subject: |
Re: bash 4.2 breaks source finding libs in lib/filename... |
Date: |
Sat, 03 Mar 2012 15:08:53 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/
Re: bash 4.2 breaks source finding libs in lib/filename..., Linda Walsh, 2012/03/02