The attached patch adds a new "-N" (or "--newline") option to xargs. This is simply an alias for "-d'\n'" for convenience, since newline-terminated lists of filenames are very common, not just from "find -print" but also from many other tools that don't offer null-terminated options like "find -print0". This option would be much more convenient and easier to discover/remember than the equivalent option "-d'\n'".
This patch contains only 15 lines of code changes to xargs.c and similarly small changes for documentation and a test case, so I don't know if a copyright assignment is required here or not. Let me know. Deven P.S. The second patch attached to this email just changes several of the "find ... | xargs" examples in the existing documentation to use "find ... -print0", in order to model best practices. This change is independent of the -N option, so it's in a separate patch file.
0001-xargs-Add-N-or-newline-option-for-newline-terminated.patch
Description: Binary data
0002-doc-Update-texinfo-documentation-to-use-print0-in-mo.patch
Description: Binary data