<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Dec 8, 2017 at 6:12 PM, Rob Landley <span dir="ltr"><<a href="mailto:rob@landley.net" target="_blank">rob@landley.net</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I dunno about "wrong", but I agree it's not what ubuntu's does.<br>
Posix-2008 is ambivalent:<br>
<br>
  -q  Force each instance of non-printable filename characters and<br>
      <tab> characters to be written as the <question-mark> ( '?' )<br>
      character. Implementations may provide this option by default<br>
      if the output is to a terminal device.<br></blockquote><div><br></div><div>POSIX 2008 defines 'printable character' as explicitly including space:</div><div><a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_287">http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_287</a><br></div><div><a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html#tag_07_03_01">http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html#tag_07_03_01</a></div></div><br></div></div>