summaryrefslogtreecommitdiffstats
path: root/src/dict.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dict.sh')
-rw-r--r--src/dict.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.sh b/src/dict.sh
index dc20955..04aefe0 100644
--- a/src/dict.sh
+++ b/src/dict.sh
@@ -41,7 +41,7 @@ dict::assoc() {
local -r input="$(cat)"
if [ -z $key ]; then
- printf "$input"
+ printf "$(echo "$input" | tr '%' '\v')" | tr '\v' '%'
return
fi