next question, subshell string manipulation using substring... this works perfectly fine:
echo $(ifconfig en0 | awk '/netmask/{$4=substr($4,3);print $4}')
but for academic purposes, I'm trying to condense using the other substr notation `${"$4":3}`, how could I use this notation in the command above?