fixed a few pipelines where awk could do the job of several tools

AWK can do all of that stuff more efficiently than calling grep, cut, cat, etc...