Re: [iproute PATCH] ip-route: Prevent some double spaces in output

2016-08-29 Thread Stephen Hemminger
On Tue, 23 Aug 2016 11:52:45 +0200 Phil Sutter wrote: > The code is a bit messy, as it starts with space after text and at some > point switches to space before text. But either way, printing space > before *and* after text almost certainly leads to printing more > whitespace than necessary. > >

[iproute PATCH] ip-route: Prevent some double spaces in output

2016-08-23 Thread Phil Sutter
The code is a bit messy, as it starts with space after text and at some point switches to space before text. But either way, printing space before *and* after text almost certainly leads to printing more whitespace than necessary. Signed-off-by: Phil Sutter --- ip/iproute.c | 14 +++---