On Mon, 2024-12-09 at 21:00 +0100, Bernhard Voelker wrote:
> The above test case can be simplified to the cases:
>
> $ printf 'hello' | xargs -0 printf "<%s>\n"
>
>
> $ printf 'hello\0' | xargs -0 printf "<%s>\n"
>
>
> $ printf 'hello\0world' | xargs -0 printf "<%s>\n"
>
>
On 12/9/24 03:34, Christoph Anton Mitterer wrote:
Hey.
Not sure whether this has been brought up before (at least a quick
search didn't reveal anything in the bug tracker or the archive).
xargs -0 still executes the command even when no terminating NUL has
been found in the (last) line.
As sho