Undocumented behavior. Here is the test case:
mkdir /tmp/testdir
mkdir /tmp/testdir/"newline
newline"
find /tmp/testdir -print
/tmp/testdir
/tmp/testdir/newline?newline
Note the '?' in the above. No '?' in the below that is redirected.
find /tmp/testdir -print | head
/tmp/testdir
/tmp/testdir
This test is part of gnulib if I recall correctly.
On 9 Jan 2014 19:00, "Perry Smith" wrote:
>
> PASS: test-ftello.sh
> /usr/work/src/findutils-4.4.2/tests/test-getdelim.c:72: assertion failed
> /gsa/ausgsa/projects/r/ruby/bin/bash: line 4: 10551374 IOT/Abort trap
> (core dumped) EXEEXT='' E