changeset 952:dbfabfcb485e

bash_completion: support GNU sed 3 and non-GNU sed replaced command 'Q' introduced in GNU sed 4, in order to support platforms with older sed.
author TK Soh <teekaysoh@yahoo.com>
date Fri, 19 Aug 2005 06:04:46 +0100
parents 859de3ebc041
children 52d8d81e72ad
files contrib/bash_completion
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/bash_completion	Thu Aug 18 21:35:36 2005 +0100
+++ b/contrib/bash_completion	Fri Aug 19 06:04:46 2005 +0100
@@ -1,7 +1,7 @@
 _hg_commands()
 {
     local commands="$(hg -v help | sed -e '1,/^list of commands:/d' \
-                                       -e '/^global options:/Q' \
+                                       -e '/^global options:/,$d' \
 				       -e '/^ [^ ]/!d; s/[,:]//g;')"
     
     # hide debug commands from users, but complete them if