Follow-up Comment #6, bug #64816 (project findutils): P.S. I can see the need to continue processing in subsequent shell loops, and the problem is on the receiving side to take over arguments from NUL-separated input.
Meanwhile the problem seem to be solved there already: $ ls -1 '????????????' 'a'$'\n''b' 'a\n' 'b\nc' 'c'$'\t''d' 'd\n\n' 'e'$'\r''f' --foo 'g h' 'i'$'\n''j' 'k'$'\n\n' '\n' strange-files $ find -type f -print0 | while IFS= read -rd '' file; do ls -logd -- "$file"; done -rw-r--r-- 1 0 Oct 29 00:15 './a'$'\n''b' -rw-r--r-- 1 0 Oct 29 00:16 './i'$'\n''j' -rw-r--r-- 1 0 Oct 29 00:16 './g h' -rw-r--r-- 1 0 Oct 29 00:16 ./strange-files -rw-r--r-- 1 0 Oct 29 00:16 ./--foo -rw-r--r-- 1 0 Oct 29 00:16 './e'$'\r''f' -rw-r--r-- 1 0 Oct 29 01:01 './b\nc' -rw-r--r-- 1 0 Oct 29 01:01 './d\n\n' -rw-r--r-- 1 0 Oct 29 00:16 './k'$'\n\n' -rw-r--r-- 1 0 Oct 29 01:01 './a\n' -rw-r--r-- 1 0 Oct 29 00:16 './c'$'\t''d' -rw-r--r-- 1 0 Oct 29 00:16 './????????????' -rw-r--r-- 1 0 Oct 29 00:16 './\n' _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?64816> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/