🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #271

Re: bash and FPATH

#271
From: Ian Dickinson
Date: Mon, 10 Aug 1992 14:48
22 lines
1631 bytes
In article <FRIEDMAN.92Aug8193038@nutrimat.gnu.ai.mit.edu> friedman@gnu.ai.mit.edu (Noah Friedman) writes:
>   My version is also, IMHO, more correct in that it does the "lazy"
>evaluation your implementation lacks.  The point of autoload is to be
>relatively inexpensive until you actually try to run the command.  Your
>version is always expensive because it looks for the source file when you
>call autoload. 

Any chance this can be provided in the example with bash-1.13 ?

>   I also have a version of "load" and a require/provide set of functions
>which use FPATH.   In fact, "load" is just a "source" that uses FPATH
>instead of PATH, the way "source" should have been implemented in the first
>place (though this isn't bash's fault.  Blame it on the standards).

Standards.  There are so many to choose from :-(

Cheers,
-- 
\/ato - Ian Dickinson - NIC handle: ID17                              Yo! Bum 
vato@csv.warwick.ac.uk  ...!mcsun!uknet!warwick!vato                     rush
/I=I/S=Dickinson/OU=CSV/O=Warwick/PRMD=UK.AC/ADMD= /C=GB/                 the
@c=GB@o=University of Warwick@ou=Computing Services@cn=Ian Dickinson     show
Technical Details
Message-ID: <7jynbmwf@csv.warwick.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!warwick.ac.UK!cudep
References: <9208061446.AA24943.SM@odin.INS.CWRU.Edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!warwick.ac.UK!cudep
From: cudep@warwick.ac.UK (Ian Dickinson)
Subject: Re: bash and FPATH
Message-ID: <7jynbmwf@csv.warwick.ac.uk>
Sender: gnulists@ai.mit.edu
Organization: Team Limpid's Meathead With Aptitude - Kunst und Wahnsinn
References: <9208061446.AA24943.SM@odin.INS.CWRU.Edu> 
Distribution: gnu
Date: Mon, 10 Aug 1992 14:48:37 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 23