[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 992226b1342e6c7c653ac83fe0fbb0fe9c6d1b06

Ville Skyttä ville.skytta at iki.fi
Tue Oct 20 18:32:42 UTC 2009


The following commit has been merged in the master branch:
commit 881bd637746c297c003ebbb9d6c0f2cd7aa9929b
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Oct 20 20:57:18 2009 +0300

    Tolerate tabs in cvs --help-commands output too.

diff --git a/contrib/cvs b/contrib/cvs
index efde026..f255d9b 100644
--- a/contrib/cvs
+++ b/contrib/cvs
@@ -25,7 +25,7 @@ get_modules()
 
 _cvs_commands()
 {
-    cvs --help-commands 2>&1 | awk '/^    / { print $1 }'
+    cvs --help-commands 2>&1 | awk '/^(     *|\t)/ { print $1 }'
 }
 
 _cvs()

-- 
bash-completion



More information about the Bash-completion-commits mailing list