From: Daniel Kahn Gillmor Date: Tue, 12 Aug 2008 20:15:37 +0000 (-0400) Subject: unescape *all* colons, instead of just the first one in encoded user IDs X-Git-Tag: monkeysphere_0.8-1~31^2~6^2 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=68a626b30117bb7c40e3e3eedb8139f1085b8ca2;hp=-c;p=monkeysphere.git unescape *all* colons, instead of just the first one in encoded user IDs --- 68a626b30117bb7c40e3e3eedb8139f1085b8ca2 diff --git a/src/common b/src/common index b4e786b..ff1a220 100644 --- a/src/common +++ b/src/common @@ -68,7 +68,7 @@ check_capability() { # character # FIXME: undo all escape character translation in with-colons gpg output unescape() { - echo "$1" | sed 's/\\x3a/:/' + echo "$1" | sed 's/\\x3a/:/g' } # remove all lines with specified string from specified file