Chas. Owens wrote:
> On 10/22/07, Jenda Krynicky <[EMAIL PROTECTED]> wrote:
> snip
>   
>> I wonder ... what language does this meaning of the verb "to source"
>> come from??? I know I've seen the word used like this a few times
>> alerady, but it still sounds completely off. I mean I could
>> understand "use", "include", "call", but "source"???
>>     
> snip
>
>
> It is also a verb in Korn Shell and BASH that means to run a file as
> part of the existing interpreter (instead of spawning a new
> interpreter):
>
> source ~/.db.prod.env
>
> also written as
>
> . ~/.db.prod.env
>
>
> * http://wordnet.princeton.edu/perl/webwn?s=source
>
>   
It is also is a stand-alone command to interpret Tcl scripts.  I'd guess
Tcl was the original source of source and was adopted by BASH and other
shells afterwards.  I don't know anything about Tcl but maybe it has a
group of functions along the lines of file-type file-name.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to