public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemming@brocade•com>
To: Phil Sutter <phil@nwl•cc>
Cc: netdev@vger•kernel.org, "Petr Písař" <ppisar@redhat•com>
Subject: Re: [iproute PATCH] Confirm success for each tc -batch command
Date: Tue, 3 Nov 2015 12:46:21 -0800	[thread overview]
Message-ID: <20151103124621.06e37725@xeon-e3> (raw)
In-Reply-To: <1446120596-10399-1-git-send-email-phil@nwl.cc>

On Thu, 29 Oct 2015 13:09:56 +0100
Phil Sutter <phil@nwl•cc> 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ř <ppisar@redhat•com>
> Signed-off-by: Phil Sutter <phil@nwl•cc>

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

  reply	other threads:[~2015-11-03 20:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-29 12:09 [iproute PATCH] Confirm success for each tc -batch command Phil Sutter
2015-11-03 20:46 ` Stephen Hemminger [this message]
2015-11-03 23:35   ` Phil Sutter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151103124621.06e37725@xeon-e3 \
    --to=shemming@brocade$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=phil@nwl$(echo .)cc \
    --cc=ppisar@redhat$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox