Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* question about the KSH
@ 1996-10-07  4:00 Patrick
  1996-10-07  4:00 ` Roland Wartenberg
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick @ 1996-10-07  4:00 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: question about the KSH
  1996-10-07  4:00 question about the KSH Patrick
@ 1996-10-07  4:00 ` Roland Wartenberg
  0 siblings, 0 replies; 2+ messages in thread
From: Roland Wartenberg @ 1996-10-07  4:00 UTC (permalink / raw)





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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-10-07  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-07  4:00 question about the KSH Patrick
1996-10-07  4:00 ` Roland Wartenberg

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