tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: PABLO CESAR SALAZAR ALEMAN <psalazar () cydsa ! com>
To: tru64-unix-managers
Subject: Strange Doubt...
Date: Tue, 24 Jul 2001 23:27:33 +0000	[thread overview]
Message-ID: <102653652422043.tru64-unix-managers.marc@archive.invalid> (raw)



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

                 reply	other threads:[~2001-07-24 23:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox