X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=po%2Fpo2msg.sh;h=1e9f992528153fa62c167db8f8e8c184e7df86bd;hb=ab2d3b0d7d29bcdfd5c710cd762d90e78d5fc917;hp=b7c4bf3fdffb3d04b8c01b25e99a706e499de0d1;hpb=2cd9ad2e71c57b283e8caf03de065bba1dff5f5f;p=git.git diff --git a/po/po2msg.sh b/po/po2msg.sh index b7c4bf3fd..1e9f99252 100644 --- a/po/po2msg.sh +++ b/po/po2msg.sh @@ -11,8 +11,8 @@ proc u2a {s} { foreach i [split $s ""] { scan $i %c c if {$c<128} { - # escape '[', '\' and ']' - if {$c == 0x5b || $c == 0x5d} { + # escape '[', '\', '$' and ']' + if {$c == 0x5b || $c == 0x5d || $c == 0x24} { append res "\\" } append res $i