🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #268

Re: sh equivalent of csh's `source` wanted

#268
From: Leslie Griffiths (Griff)
Date: Mon, 03 Aug 1992 08:14
20 lines
960 bytes
In article <ericw.712530389@hobbes> ericw@hobbes.amd.com (Eric Wedaa) writes:
>HELP!!!  One of my users needs the Bourne Shell equivalent of csh's 
>`source` command.  I don't think this is possible?  Any suggestions?
>
>>>Ericw
>

 $ . .profile

runs the script in the current shell, rather than invoking a subshell.

>Eric Wedaa  -  eric.wedaa@amd.com | Two more kinds of lies...

Cheers


-- 
Griff				\\         	ccx018@uk.ac.cov
^^^^^		       		 :-=       	^^^^^^^^^^^^^^^^
		        	//
Technical Details
Message-ID: <BsEEwC.Cr6@cck.coventry.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!warwick!coventry!ccx018
References: <ericw.712530389@hobbes>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!warwick!coventry!ccx018
From: ccx018@cch.coventry.ac.uk (Leslie Griffiths (Griff))
Newsgroups: comp.unix.shell
Subject: Re: sh equivalent of csh's `source` wanted
Keywords: help
Message-ID: <BsEEwC.Cr6@cck.coventry.ac.uk>
Date: 3 Aug 92 08:14:36 GMT
References: <ericw.712530389@hobbes>
Sender: news@cck.coventry.ac.uk (news user)
Organization: Coventry University
Lines: 20
Nntp-Posting-Host: cc_sysh