On Fri, Dec 22, 2023 at 10:12:13AM -0700, Todd C. Miller wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   mill...@cvs.openbsd.org 2023/12/22 10:12:13
> 
> Modified files:
>       regress/usr.bin/xargs: xargs-L.sh 
>       usr.bin/xargs  : xargs.c 
> 
> Log message:
> xargs: fix parsing of empty fields when "xargs -0" is used.
> Previously, these fields would be skipped.  From Hiltjo Posthuma.

This broke the common `find -print0 | xargs -0` idiom:

$ mkdir -p /tmp/a
$ find /tmp/a -print0 | xargs -0r rm -r
rm: : No such file or directory

Reply via email to