On 1/29/18 1:29 PM, Stephen Hemminger wrote: > This patch makes ip route command have json and color output in > a similar fashion of ip link and address. > > The printing is split into functions and duplicate code > removed. > > Probably incomplete, and has formatting glitches. > > --- > include/utils.h | 4 + > ip/iproute.c | 764 > ++++++++++++++++++++++++++++++++++---------------------- > 2 files changed, 469 insertions(+), 299 deletions(-)
good idea. 469 insert, 299 delete makes this really complicated. Splitting this into smaller patches will be helpful.