Simplify awk program