summaryrefslogtreecommitdiffstats
path: root/makevarescape.sed
blob: 2baa50c2d1216a59e797fc45e58ca4039dd2b631 (plain)
1
2
3
4
5
6
7
8
9
s/\\/\\\\e/g
s/ /\\\\ /g
s/"/\\\\[dq]/g
s/'/\\\\[aq]/g
s/-/\\\\&/g
s/\^/\\\\[ha]/g
s/`/\\\\[ga]/g
s/~/\\\\[ti]/g
s|[^ ]/\+|&\\\\:\\\\%|g