#!/bin/ksh
shit=""
export shit
shit=$(su - grid -c 'echo $ORACLE_BASE')
pvar=$(subvar="hello shell"; echo $subvar)
echo $pvar
echo $shit
#!/bin/ksh
shit=""
export shit
shit=$(su - grid -c 'echo $ORACLE_BASE')
pvar=$(subvar="hello shell"; echo $subvar)
echo $pvar
echo $shit