<div dir="ltr"><div>Attached is a patch to make, e.g.</div><div>  find . -print0|xargs -0P30 file -n|sed -n 's/: .*pie executable.*//p'<br>work reliably (with a net speed-up near 30x, if you have that many cores).<br>{ At least reliably subject to extra conditions that no filename or type<br>contains ":<SPACE>" and every answer is < atomic pipe write limit.  Both<br>of these are very common cases, especially the latter and in any event<br>'file -F ::INCONceivable::' or some such can work around the former. }<br><br>Without this patch, stdout flushing only happens in "file -f fileList"<br>mode which interleaves output from various kid processes of xargs.</div><div>While one can work around this with a 'stdbuf -L', that can add a</div><div>bit of overhead.  Better to just make --no-buffer work as was likely</div><div>always intended.<br><br>The patch also corrects grammar in the man page.<br><br>I tried to set up accounts on the bug tracker twice unsuccessfully.<br>So, hopefully this email goes through and is enough to get in the<br>patch (or some variation of the fix).<br></div></div>