I use brand new usage of 'bash'.
func(){
echo Dan 38
}
read name age < <(func)
echo "name=$name age=$age"
How to convert these into dash? (In fact it is busybox's shell)
I use following lines to replace read name age < <(func)
func > /tmp/$$
name=`cat /tmp/$$ | awk '{print $1}'`
age=`cat /tmp/$$ | awk '{print $2}'`
rm /tmp/$$
But, I'm wonder is there better solution?