[Toybox] [PATCH] Make ls.test work without awk.

Rob Landley rob at landley.net
Tue Apr 11 12:18:17 PDT 2017


On 04/11/2017 02:14 PM, Rob Landley wrote:
> Except... looking in ls there's code to do this. Why isn't it
> triggering... Huh, Izabera pointed out that ubuntu's ls defaults to -q
> and so I made it do that, and -q trumps -b. Blah.
> 
> Ok, fixed and my code is escaping \e which ubuntu's ls isn't. But both
> printf and echo support \e so I think I'm right. :)

But that's wrong because it escapes the high ascii stuff by default, and
that produces unicode characters. So if they didn't _explicitly_ say -b
then I don't want to escape unicode.

Grrr.

Rob



More information about the Toybox mailing list