diff options
Diffstat (limited to '')
-rw-r--r-- | makevarescape.sed | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/makevarescape.sed b/makevarescape.sed new file mode 100644 index 0000000..2baa50c --- /dev/null +++ b/makevarescape.sed @@ -0,0 +1,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 |