$ sed -n 's/.*\.//;p' gobi.txt or $ awk 'BEGIN{FS="."} {print $NF}' gobi.txt
$ sed 's/.*\.\.\([0-9]*\).*/\1/' gobi.txt