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