[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190412165301.1c4b7390@cakuba.netronome.com>
Date: Fri, 12 Apr 2019 16:53:18 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Benjamin Poirier <bpoirier@...e.com>
Cc: Quentin Monnet <quentin.monnet@...ronome.com>,
Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org,
bpf@...r.kernel.org, David Ahern <dsahern@...il.com>
Subject: Re: [PATCH v2 bpf-next 1/2] bpftool: Use print_entry_error() in
case of ENOENT when dumping
On Sat, 13 Apr 2019 07:49:24 +0900, Benjamin Poirier wrote:
> To be honest, I don't think the formatting in those print_entry_*
> functions should change according to the length in any case. I think the
> key and value for each entry should always be on the same line for ease
> of grepping. A followup patch maybe...
No, no, please never grep bpftool output. We have JSON output,
please use JQ: http://manpages.ubuntu.com/manpages/bionic/man1/jq.1.html
Powered by blists - more mailing lists