On Mon, 16 Jan 2017 09:21:39 -0700, "Todd C. Miller" wrote:

> When using the -0 flag, a "line" is delimited by a NUL char, not a
> newline.  This fixes things like:
> 
> $ printf 'hello\00world\00' | xargs -n 1 -0 -I arg printf '>%s<\n' "arg"

Sorry, the actual test command is:

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

The -n1 form will return the correct results regardless of the
patch.

 - todd

Reply via email to