linux egrep does not support \d, change to [0-9]