[juneau-lug] Re: What does . mean?

  • From: "James Zuelow" <jamesz@xxxxxxxxxxxxxxxx>
  • To: <juneau-lug@xxxxxxxxxxxxx>
  • Date: Thu, 27 Mar 2003 13:51:46 -0800



> -----Original Message-----
> From: juneau-lug-bounce@xxxxxxxxxxxxx 
> [mailto:juneau-lug-bounce@xxxxxxxxxxxxx] On Behalf Of Tony 
> Taylor (ISD)

> Normally, when you run a script, it runs in a "child" shell.  
> The parent 
> shell never sees any environment variables that are set 
> within the child 
> shell.
> 

Interesting.  I didn't know about the environment stuff, I just used it
to type commands.  For reference, here's the OpenBSD implementation (for
sh):

. file [arg1 ...]
        Execute the commands in file in the current environment.  The
        file is searched for in the directories of PATH. If arguments
are
        given, the positional parameters may be used to access them
while
        file is being executed.  If no arguments are given, the
position-
        al parameters are those of the environment the command is used
        in.


Cheers,

James


------------------------------------
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts: