Files
gists/map.awk
2017-09-18 11:47:26 +02:00

12 lines
94 B
Awk

NR == FNR {
rep[$1] = $2
next
}
{
for (key in rep)
gsub(key, rep[key])
print
}