Shell variables - help

Stephen Harris sweh at tharr.UUCP
Sat Oct 13 11:50:50 AEST 1990


In article <669 at atcmpe.atcmp.nl> ronald at atcmp.nl (Ronald Pikkert) writes:
RP>From article <1339 at ul-cs.ulowell.edu>, by mchetan at hawk.ulowell.edu (Munisuvratha Chetan):
RP>
RP>> How do I tell the current shell to execute the shell program in
RP>> the current shell, and NOT in a new shell ?
RP>
RP>The command: . ./foo will execute the script named foo in the current
RP>                     directory without starting a subshell to do the job.
RP>
And in C-shell use the command
	source ./foo
to do the same thing.

RP>
RP>-
-- 
    			     Stephen Harris
Disclaimer: me have an opinion?     | Email: ..!ukc!axion!tharr!sweh
            What an idea!	    |        sweh%tharr.uucp at uk.co.bt.axion
Wanted: humour transplant           |        tharr!sweh at uk.ac.ukc 
     <-- tharr *free* public access to Usenet in the UK 0234 261804 -->



More information about the Comp.unix.questions mailing list