Quote (Zucca @ Jan. 31 2008,10:06) | ||
But I don't have any "$(command)" there. I read that to set the variable local only you must use local -command. But if it is really lost somewhere, is there a way to pass it to the outer process? |
Code Sample |
func(){ # blah RES=5 echo $RES } ANSWER=$(func) |