The most common way this is used is to reload edits that you make to a resource file -- like .profile -- into the current shell. $> . .profile or $> . .bashrc HTH, - Travis.
Tommy Nordgren <[EMAIL PROTECTED]> wrote: On 18 okt 2006, at 22.47, [EMAIL PROTECTED] wrote: > Hi all, > > Just want to know what really is the difference when running a > script as > > . myscript or simply myscript, i.e. the first one with a dot > infront of it and > the other one without a dot. > > Or does it matter only when invoking the script from within a script? > > Any thoughts will be very much appreciated. Thanks in advance. Running a script with dot (Which is really shell operator and not the perl string concatenation operator in this case) loads and executes a script in the current shell, IE the script is not run in a subprocess. The shells dot operator can only be used for shell scripts and not for perl scripts. ------------------------------------- This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.