<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Fixed, thanks!<div class=""><br class=""></div><div class="">christos<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 6, 2020, at 8:41 AM, Charles Blake <<a href="mailto:charles.l.blake2@gmail.com" class="">charles.l.blake2@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p class=""><defanged_div dir="ltr" class=""></defanged_div></p><p class=""><defanged_div class="">Attached is a patch to make, e.g.</defanged_div></p><defanged_div class=""><p class=""><defanged_div class="">  find . -print0|xargs -0P30 file -n|sed -n 's/: .*pie executable.*//p'<br class="">work reliably (with a net speed-up near 30x, if you have that many cores).<br class="">{ At least reliably subject to extra conditions that no filename or type<br class="">contains ":<SPACE>" and every answer is < atomic pipe write limit.  Both<br class="">of these are very common cases, especially the latter and in any event<br class="">'file -F ::INCONceivable::' or some such can work around the former. }<br class=""><br class="">Without this patch, stdout flushing only happens in "file -f fileList"<br class="">mode which interleaves output from various kid processes of xargs.</defanged_div></p><defanged_div class=""><p class=""><defanged_div class="">While one can work around this with a 'stdbuf -L', that can add a</defanged_div></p><defanged_div class=""><p class=""><defanged_div class="">bit of overhead.  Better to just make --no-buffer work as was likely</defanged_div></p><defanged_div class=""><p class=""><defanged_div class="">always intended.<br class=""><br class="">The patch also corrects grammar in the man page.<br class=""><br class="">I tried to set up accounts on the bug tracker twice unsuccessfully.<br class="">So, hopefully this email goes through and is enough to get in the<br class="">patch (or some variation of the fix).<br class=""></defanged_div></p><defanged_div class=""><div class=""><br class="webkit-block-placeholder"></div><defanged_div class="">
<span id="cid:f_kid5qolb0"><nobuffer.patch></span>-- <br class="">File mailing list<br class=""><a href="mailto:File@astron.com" class="">File@astron.com</a><br class="">https://mailman.astron.com/mailman/listinfo/file<br class=""><span id="cid:BEDBD334-C56E-45AD-846C-A328F9696F0C"><sanitizer.log></span></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></div></blockquote></div><br class=""></div></body></html>