From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [iproute PATCH] Confirm success for each tc -batch command Date: Tue, 3 Nov 2015 12:46:21 -0800 Message-ID: <20151103124621.06e37725@xeon-e3> References: <1446120596-10399-1-git-send-email-phil@nwl.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: , Petr =?UTF-8?B?UMOtc2HFmQ==?= To: Phil Sutter Return-path: Received: from mx0a-000f0801.pphosted.com ([67.231.144.122]:48341 "EHLO mx0a-000f0801.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932526AbbKCUqR convert rfc822-to-8bit (ORCPT ); Tue, 3 Nov 2015 15:46:17 -0500 In-Reply-To: <1446120596-10399-1-git-send-email-phil@nwl.cc> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 29 Oct 2015 13:09:56 +0100 Phil Sutter 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. >=20 > 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. >=20 > Signed-off-by: Petr P=C3=ADsa=C5=99 > Signed-off-by: Phil Sutter Why use batch mode if you are feeding it from a pipe? This seems like unnecessary feature creep.