diff options
-rwxr-xr-x | utilities/ovs-command-compgen.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/ovs-command-compgen.bash b/utilities/ovs-command-compgen.bash index c87445a67..a515c1d84 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= |