Fixed unescaped $ in awk commands.