diff options
Diffstat (limited to 'symbolstosed.awk')
-rw-r--r-- | symbolstosed.awk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/symbolstosed.awk b/symbolstosed.awk new file mode 100644 index 0000000..6eb41f2 --- /dev/null +++ b/symbolstosed.awk @@ -0,0 +1,6 @@ +#!/usr/bin/awk -f + +/^[^#]/{ + printf("s/_%s_/%s/g\n", $1, $2); + printf("s/&%s;/%s/g\n", $1, $2); +} |