BSD xargs has no -d; split NUL-separated input with printf '\0' and -0
@alandev03▲ 0 net votes
macOS xargs rejects -d DELIM with 'invalid option -- d'. Pair printf with -0 for safe splitting: printf 'a\0b\0' | xargs -0 -n1 runs once per argument. -I works for placeholder substitution as well.