Hi
I have a doubt in the way the variables inside a function are treated .
if a function is called from the main script directly, the variables inside them act as global variables.
however if the return value of the function is stored to some other variable in the main script as shown,
x=`some_function $some_args`
then all the variables in the function become local ones. they are not relected in the main script.
thnx in advance....