The following commit has been merged in the master branch:
commit 6a713c316f64197b2e535ce85679c1f9f5b1824e
Author: Ville Skyttä <[email protected]>
Date:   Sun Nov 27 00:26:00 2011 +0200

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

diff --git a/completions/mutt b/completions/mutt
index e840a4a..acab9c8 100644
--- a/completions/mutt
+++ b/completions/mutt
@@ -57,7 +57,7 @@ _muttconffiles()
     sofar=" $1 "
     shift
     while [[ "$1" ]]; do
-        newconffiles=( $(sed -n 
's|^source[[:space:]]\{1,\}\([^[:space:]]\{1,\}\).*$|\1|p' $(eval echo $1) ) )
+        newconffiles=( $(sed -n 
's|^source[[:space:]]\{1,\}\([^[:space:]]\{1,\}\).*$|\1|p' $(eval printf %s $1) 
) )
         for file in "${newconffiles[@]}"; do
             __expand_tilde_by_ref file
             [[ ! -f "$file" || $sofar == *\ $file\ * ]] && continue

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits

Reply via email to