Strange Doubt...

From: PABLO CESAR SALAZAR ALEMAN <psalazar_at_cydsa.com>
Date: Tue, 24 Jul 2001 18:27:33 -0500

Hi managers,

     i have a doubt:

     I have a shell script ambientes.ksh, inside there are a line:

                                               $DLC=/software/dlc9

     By default, $DLC = /software/dlc

I logged in, and type

     #echo $DLC
     /software/dlc

then i run shell script

     # ./ambientes.ksh

then

     #echo $DLC
     /software/dlc

Now, i run the shell script again, but without "/":

     # . ambientes.ksh
then
     #echo $DLC
     /software/dlc9

What is that diference between "./ambientes.ksh" and ". ambientes.ksh"????

Regards,
Pablo Salazar
Received on Tue Jul 24 2001 - 23:34:34 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT