Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!cmcl2!yale!husc6!linus!gatech!mcdchg!heiby From: heiby@mcdchg.UUCP (Ron Heiby) Newsgroups: comp.unix.questions Subject: Re: Korn Shell Message-ID: <261@mcdchg.UUCP> Date: Thu, 19-Mar-87 18:13:58 EST Article-I.D.: mcdchg.261 Posted: Thu Mar 19 18:13:58 1987 Date-Received: Sat, 21-Mar-87 08:20:11 EST References: <580@csun.UUCP> <5680@brl-smoke.ARPA> <2201@ptsfa.UUCP> <730@hoqax.UUCP> <15224@sun.uucp> <209@quacky.mips.UUCP> Sender: usenet@mcdchg.UUCP Reply-To: heiby@mcdchg.UUCP (-Ron Heiby) Organization: Motorola Microcomputer, Schaumburg, IL Lines: 15 Keywords: Korn shell ksh aliases parameters In article <209@quacky.mips.UUCP> dce@quacky.UUCP (David Elliott) writes: |In article <15224@sun.uucp> guy@sun.UUCP (Guy Harris) writes: |>>Why can't aliases and functions be exported like shell variables? | |One point that hasn't been mentioned is how shell scripts would be |affected by having these items exported. Actually, they can be exported in ksh. They are then recognized by shell scripts. They are not known to Nth generation invokations, though. I.e. if you invoke ksh from within vi, you don't get them. By default, they are *not* exported, thus preserving compatible behaviour. -- Ron Heiby, mcdchg!heiby Moderator: mod.newprod & mod.os.unix Motorola Microcomputer Division (MCD), Schaumburg, IL "Save your energy. Save yourselves. Avoid the planet 'cuae2' at all nt wnt w