[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-71-gbb02bcd

Ville Skyttä ville.skytta at iki.fi
Sat Nov 26 14:15:28 UTC 2011


The following commit has been merged in the master branch:
commit bb02bcde80f58cd307a1724b2968292547edcd52
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Nov 26 16:09:36 2011 +0200

    dequote: Use printf instead of echo (Alioth: #312163).

diff --git a/bash_completion b/bash_completion
index c239576..b8017d3 100644
--- a/bash_completion
+++ b/bash_completion
@@ -157,7 +157,7 @@ quote_readline()
 # This function shell-dequotes the argument
 dequote()
 {
-    eval echo "$1" 2> /dev/null
+    eval printf %s "$1" 2> /dev/null
 }
 
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list