From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f3233fcbcd5b7431 X-Google-Attributes: gidfee84,public From: "Roland Wartenberg" Subject: Re: question about the KSH Date: 1996/10/07 Message-ID: <01bbb464$662d6180$b41b78c2@wartenberg.mannheim-netz.de>#1/1 X-Deja-AN: 187326129 references: <32593893.2F4F@rijnhaave.nl> organization: Roland Wartenberg newsgroups: comp.unix.osf.osf1 Patrick schrieb im Beitrag <32593893.2F4F@rijnhaave.nl>... > Hi, > > When I start a script, normally a KSH is executed... > But how do I prevent this... > > why? > > I want to start a script with some environment settings in there. > But when I start this script, it load these setting in the > second ksh but not in current ksh... > > so, can anyone tell how to do this? > > Tnx, Patrick > pgh@rijnhaave.nl > In ksh say: . ^^ |---- it's a dot and a space to execute the script 'parallel' to your current shell. And use the 'export' command in you script to define environment parameters. In csh you get the same result using 'source Regards, Roland