[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOssrKet+cwfTfAVni1ikrjcJajLe7J6Z3VoCdV=FMxzf+bh_g@mail.gmail.com>
Date: Wed, 14 Sep 2016 11:30:38 +0200
From: Miklos Szeredi <mszeredi@...hat.com>
To: Cedric Blancher <cedric.blancher@...il.com>
Cc: linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH 00/11] splice cleanups
On Wed, Sep 14, 2016 at 10:55 AM, Cedric Blancher
<cedric.blancher@...il.com> wrote:
> Is there any shell which uses pipe splicing?
for i in /usr/bin/*; do if file $i | grep -q ELF; then if nm -D $i |
grep -q splice; then echo $i; fi; fi; done
For me it does not yield anything by which you could easily try out splicing.
Attaching a simple cp-like program which uses splice if you want to try it out.
Thanks,
Miklos
View attachment "cp-splice.c" of type "text/x-csrc" (1005 bytes)
Powered by blists - more mailing lists