(non) Tech Self Notes / AWK: Substitute With Dictionary Example

awk -F: 'NR==FNR { map[$1] = $2; next } { 
  for (key in map) {
    gsub(key, map[key]);
  }
} 1' dictionary.txt input.txt > output.txt