Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!zephyr.ens.tek.com!tektronix!sequent!ccssrv!perry From: perry@ccssrv.UUCP (Perry Hutchison) Newsgroups: comp.unix.questions Subject: Re: export vars from cshell script? Message-ID: <844@ccssrv.UUCP> Date: 17 Nov 89 02:56:54 GMT Article-I.D.: ccssrv.844 References: <1815@gazette.bcm.tmc.edu> Reply-To: perry@ccssrv.UUCP (Perry Hutchison) Organization: Control-C Software, Inc., Beaverton, OR Lines: 12 In article <1815@gazette.bcm.tmc.edu> heidi@kiwi.bcm.tmc.edu (Heidi Johnson) writes: >Is there an equivalent in the Cshell to the Bourne shell's export >facility? We have would like to define new environment variables in a >shell, and have them be known to subsequent processes. There is not an exact equivalent, but similar functionality is available. In Bourne shell, all variables are set with "=" and those which are to be placed in the environment are "export"ed. In C shell, variables created with "setenv" are placed in the environment while those created with "set" are private.