Merge "Replace grep | head | awk | tr | tr with awk."