This commit fixes unwanted whitespace in the ovs bash completion script output.
Signed-off-by: Alex Wang <al...@nicira.com> --- utilities/ovs-command-compgen.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ovs-command-compgen.bash b/utilities/ovs-command-compgen.bash index c87445a..a515c1d 100755 --- a/utilities/ovs-command-compgen.bash +++ b/utilities/ovs-command-compgen.bash @@ -371,7 +371,7 @@ kwords_to_args() { match= ;; esac - match=$(echo "$match" | tr '\n' ' ' | sed -e 's/^[ \t]*//') + match=$(echo "$match" | tr '\n' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//') args+=( $match ) if [ -n "$_PRINTF_ENABLE" ]; then local output_stderr= -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev