Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site rexago1.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!cwruecmp!rexago1!rich From: rich@rexago1.UUCP (K. Richard Magill) Newsgroups: net.unix,net.unix-wizards Subject: Re: Bourne shell modifications, past and future Message-ID: <122@rexago1.UUCP> Date: Sat, 23-Nov-85 21:10:18 EST Article-I.D.: rexago1.122 Posted: Sat Nov 23 21:10:18 1985 Date-Received: Mon, 25-Nov-85 07:18:28 EST References: <1943@gatech.CSNET> <10@druri.UUCP> <21@pixdoc.UUCP> <3@bbncc5.UUCP> <161@nitrex.UUCP> Reply-To: rich@rexago1.UUCP (K. Richard Magill) Organization: Roadway Express Inc., Akron, OH Lines: 13 Keywords: shell functions Xref: watmath net.unix:6359 net.unix-wizards:15846 Summary: In article <161@nitrex.UUCP> rob@nitrex.UUCP (rob robertson) writes: >My main problem with SysV's version of Bourne Shell is that functions >don't stick around in a new invocation of the shell. In Berkley a >.cshrc is executed when ever a new shell is involked keeping the alias >around. Korn shell fixed that by providing an enviornment variable, >ENV which contains the name of a file to be executed whenever a new shell >is involked. Also in Korn shell, he provides BOTH aliasing and functions. >Aliasing is faster, but functions are more complex. > ksh functions can also be exported. K. Richard Magill