[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 670ad0e9d6edfc8753f7ca52319b7a880b9d3328

Ville Skyttä ville.skytta at iki.fi
Tue Apr 14 19:09:42 UTC 2009


The following commit has been merged in the master branch:
commit 670ad0e9d6edfc8753f7ca52319b7a880b9d3328
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Apr 14 22:09:39 2009 +0300

    Use POSIX compliant arguments to tail in mkisofs completion.

diff --git a/CHANGES b/CHANGES
index 84d31d7..37f5f8f 100644
--- a/CHANGES
+++ b/CHANGES
@@ -29,6 +29,7 @@ bash-completion (1.x)
   * Rename installed_alternatives() to _installed_alternatives().
   * Add /etc/pki/tls/openssl.cnf to list of default openssl config files,
     search for default ones only if -config is not given.
+  * Use POSIX compliant arguments to tail in mkisofs completion.
 
   [ Todd Zullinger ]
   * Make yum complete on filenames after install, deplist, update and upgrade
diff --git a/bash_completion b/bash_completion
index 3ec3f0d..63f40c3 100644
--- a/bash_completion
+++ b/bash_completion
@@ -6115,7 +6115,7 @@ _mkisofs()
 			;;
 		-*-charset)
 			COMPREPLY=( $( mkisofs -input-charset help 2>&1 | \
-					tail +3 | grep "^$cur") )
+					tail -n +3 | grep "^$cur") )
 			return 0
 			;;
 		-uid)

-- 
bash-completion



More information about the Bash-completion-commits mailing list