The following commit has been merged in the master branch:
commit cec611fa51230bc4dac0f85cc0c2eb2c145400ac
Author: Ville Skyttä <[email protected]>
Date:   Wed May 4 22:45:47 2011 +0300

    _parse_help: Use -r to "read" to avoid backslash issues.

diff --git a/bash_completion b/bash_completion
index 1be2128..5012c11 100644
--- a/bash_completion
+++ b/bash_completion
@@ -785,7 +785,7 @@ _parse_help()
 {
     eval local cmd=$1
     local line
-    "$cmd" ${2:---help} 2>&1 | while read line; do
+    "$cmd" ${2:---help} 2>&1 | while read -r line; do
 
         [[ $line == *([ $'\t'])-* ]] || continue
         __parse_options "$line"

-- 
bash-completion

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

Reply via email to