what is gsub in awk command?
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.