home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!chemabs!lwv26
- From: lwv26@cas.org (Larry W. Virden)
- Subject: Re: ksh autoload quirk
- Message-ID: <1992Dec20.112016.14120@cas.org>
- Followup-To: comp.unix.shell
- Sender: usenet@cas.org
- Reply-To: lvirden@cas.org (Larry W. Virden)
- Organization: Nedriv Software and Shoe Shiners, Uninc.
- References: <BzDBn2.KAw@ddsw1.mcs.com> <WPM.92Dec18103702@exile.is.morgan.com>
- Date: Sun, 20 Dec 1992 11:16:30 GMT
- Lines: 20
-
- Here is what our ATT Toolchest man page says about FPATH:
-
- FPATH
- The search path for function definitions. By
- default the FPATH directories are searched after
- the PATH variable. If an executable file is
- found, then it is read and executed in the current
- environment. FPATH is searched before PATH when a
- function with the -u attribute is referenced. The
- preset alias autoload preset alias (sic) causes a func-
- tion with the -u attribute to be created.
-
- So it sounds like what happens is that first the alias table is searched,
- then the currently defined function table is searched, then PATH is searched,
- then FPATH is searched. IF a function is marked with the -u - i.e. autload -
- then the last two search items are reversed.
- --
- Larry W. Virden UUCP: osu-cis!chemabs!lvirden
- Same Mbox: BITNET: lvirden@cas INET: lvirden@cas.org
- Personal: 674 Falls Place, Reynoldsburg, OH 43068-1614
-