printf "Type net size / here: "; read f; export f=`echo "$f"|tr -d /`; printf "Number of adresses a /$f gives: "; dc -e "2 32 $f - ^ 0 - p";