Replacing multiple grep statements with single awk statement.