Skip to content

Commit

Permalink
ovs-command-completion: Fix unwanted whitespace.
Browse files Browse the repository at this point in the history
This commit fixes unwanted whitespace in the ovs
bash completion script output.

Signed-off-by: Alex Wang <[email protected]>
Acked-by: Joe Stringer <[email protected]>
  • Loading branch information
yew011 committed Dec 14, 2014
1 parent 0c7812e commit 9a8d2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/ovs-command-compgen.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 9a8d2f8

Please sign in to comment.