1 2 3 4 5 6
#!/usr/bin/awk -f /^[^#]/{ printf("s/_%s_/%s/g\n", $1, $2); printf("s/&%s;/%s/g\n", $1, $2); }