[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: shell script.



On Mon, 10 Apr 2000, Kunal Shah wrote:

> How to return a command from child shell to parent?
> 

The key thing here is that the current working directory is a property of
a process and hence, changing it in a child process will not effect the
parent. You might want to source the file instead.
If you are using *sh*, try

. filename

- if *csh, try

source filename

Bye
Gautam

-- 
The Public is merely a multiplied "me."
                -- Mark Twain


--------------------------------------------------------------
QuantumLink Communications, Bombay, India