This commit fixes unwanted whitespace in the ovs
bash completion script output.
Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
- 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=
args+=( $match )
if [ -n "$_PRINTF_ENABLE" ]; then
local output_stderr=