awk/testdir/t.gsub4

5 lines
92 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
length($1) == 0 { next }
{gsub("[" $1 "]","(&)"); print}
{gsub("[" $1 "]","(\\&)"); print}