Question: what is gsub in awk command?
Answer: gsub(regex, sub, string) gsub stands for global substitution. It replaces every occurrence of regex with the given string (sub). The third parameter is optional. If it is omitted, then $0 is used.