bash array solved. Code: #! /bin/ bash set -x sun_d=`cal |grep -v [A-Za-z]|awk '{printf " " $1}' ` echo ...
www.unix.com