On Dec 16, 2014, at 1:43 PM, Sergio Durigan Junior <sergi...@redhat.com> wrote: > On Tuesday, December 16 2014, Mike Stump wrote: > >> So, either, the tool should not generate 0 in the output, which, is rather >> anti-social, or one should strip the funny characters in a more portable >> fashion. >> >> tr and cat -v come to mind; both should be pretty portable. >> >>> OK to apply? >> >> Try cat | cat -v in there instead. > > Thanks, Mike. WDYT of the attached patch?
Well, I’d still say that ‘\0’ in the output of tools is antisocial and that is the real bug that needs to be fixed. That aside, it is reasonable to protect testing from poorly behaving tools… if you really want to. Ok.