Grep Extract Substring In Bash