[bash] Use Awk to extract substring