On Mon, 16 Jan 2017 12:19:31 +0100, Andreas Kusalananda =?iso-8859-1?B?S+Ro5HJp
?= wrote:

> However, when I use nul-termination instead:
> 
>     $ printf 'hello\00world\00' | xargs -0 -I arg printf '>%s<\n' "arg"
>     >hello world<

This appears to be a bug with the -I handling.  Without -I it
works as expected:

$ printf 'hello\00world\00' | xargs -0 printf '>%s<\n'
>hello<
>world<

 - todd

Reply via email to