grep -o exchanged with awk