I pass the return value of fnReturnFunction() to "value" variable as shown below.
It is working fine in linux but not on solaris.
fnReturnFunction()
{
echo $1$2
}
value=$(fnReturnFunction "holly" "wood")
echo $value
In Solaris i am getting following error
Code:
"The following code is used to handle return value of fnReturnFunction with "value" ."
Please help me to solve the problem on Solaris.
ThanQ,
Nagendra