Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Roland Wartenberg" <rolandw@wartenberg.mannheim-netz.de>
Subject: Re: question about the KSH
Date: 1996/10/07	[thread overview]
Message-ID: <01bbb464$662d6180$b41b78c2@wartenberg.mannheim-netz.de> (raw)
In-Reply-To: 32593893.2F4F@rijnhaave.nl




Patrick <pgh@rijnhaave.nl> 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: 


 . <scriptname>
 ^^
  |---- 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 <scriptname>


Regards,
Roland




      reply	other threads:[~1996-10-07  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-07  4:00 question about the KSH Patrick
1996-10-07  4:00 ` Roland Wartenberg [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox