Subject: Re: [iproute PATCH] Confirm success for each tc -batch command

From: Stephen Hemminger <[email-masked]>
Date: Tue, 3 Nov 2015 12:46:21 -0800

On Thu, 29 Oct 2015 13:09:56 +0100
Phil Sutter <[email-masked]> wrote:

> If `tc -force -batch' is fed by a controlling program from a pipe,
> it's not possible to recognize when a command has been processes
> successfully.
> 
> This patch adds an optional `-OK' option to the tc(8) tool, so `tc
> -force -OK -batch' will print "OK\n" to standard output on each
> successfully completed tc command.
> 
> Signed-off-by: Petr Písař <[email-masked]>
> Signed-off-by: Phil Sutter <[email-masked]>

Why use batch mode if you are feeding it from a pipe?
This seems like unnecessary feature creep.