switched grep to awk