Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!think!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ulysses!hector!ekrell From: ekrell@hector.UUCP (Eduardo Krell) Newsgroups: comp.unix.questions Subject: Re: Exporting functions in ksh Message-ID: <12406@ulysses.homer.nj.att.com> Date: 20 Nov 89 15:07:18 GMT References: <525@umvlsi.ecs.umass.edu> <3882@amelia.nas.nasa.gov> Sender: netnews@ulysses.homer.nj.att.com Reply-To: ekrell@hector.UUCP (Eduardo Krell) Distribution: usa Organization: AT&T Bell Laboratories Lines: 12 typeset -xf name works for shell scripts only. If you want a new shell invocation to inherit functions, you have to put them in your ENV file. If you have the new (1988) ksh, you can set FPATH to a colon-separated list of directories that ksh searches for auto-load functions. This works like PATH does for command searching. Eduardo Krell AT&T Bell Laboratories, Murray Hill, NJ UUCP: {att,decvax,ucbvax}!ulysses!ekrell Internet: ekrell@ulysses.att.com