@@ -813,7 +813,7 @@ __parse_options()
813
813
#
814
814
_parse_help()
815
815
{
816
- eval local cmd=$(quote "$1 ")
816
+ eval local cmd=" $(quote "$1 ")"
817
817
local line
818
818
{ case $cmd in
819
819
-) cat ;;
@@ -838,7 +838,7 @@ _parse_help()
838
838
#
839
839
_parse_usage()
840
840
{
841
- eval local cmd=$(quote "$1 ")
841
+ eval local cmd=" $(quote "$1 ")"
842
842
local line match option i char
843
843
{ case $cmd in
844
844
-) cat ;;
@@ -1034,7 +1034,7 @@ _tilde()
1034
1034
__expand_tilde_by_ref ()
1035
1035
{
1036
1036
if [[ ${! 1} == \~ * ]]; then
1037
- eval $1 =$( printf ~ %q " ${! 1# \~ } " )
1037
+ eval $1 =" $( printf ~ %q " ${! 1# \~ } " ) "
1038
1038
fi
1039
1039
} # __expand_tilde_by_ref()
1040
1040
@@ -1050,7 +1050,7 @@ _expand()
1050
1050
if [[ " $cur " == \~ * /* ]]; then
1051
1051
__expand_tilde_by_ref cur
1052
1052
elif [[ " $cur " == \~ * ]]; then
1053
- _tilde " $cur " || eval COMPREPLY[0]=$( printf ~ %q " ${COMPREPLY[0]# \~ } " )
1053
+ _tilde " $cur " || eval COMPREPLY[0]=" $( printf ~ %q " ${COMPREPLY[0]# \~ } " ) "
1054
1054
return ${# COMPREPLY[@]}
1055
1055
fi
1056
1056
}
@@ -1565,10 +1565,10 @@ _known_hosts_real()
1565
1565
cur=${! OPTIND} ; (( OPTIND += 1 ))
1566
1566
if [[ $# -ge $OPTIND ]]; then
1567
1567
echo " bash_completion: $FUNCNAME ($* ): unprocessed arguments:" \
1568
- $( while [[ $# -ge $OPTIND ]]; do
1569
- printf ' %s\n ' ${! OPTIND}
1568
+ " $( while [[ $# -ge $OPTIND ]]; do
1569
+ printf ' %s ' ${! OPTIND}
1570
1570
shift
1571
- done) >&2
1571
+ done) " >&2
1572
1572
return 1
1573
1573
fi
1574
1574
0 commit comments