[PATCH] busybox: tr: enable options required by POSIX

Jordan Geoghegan jordan at geoghegan.ca
Tue Jul 14 05:26:50 EDT 2020



On 2020-07-14 02:08, Petr Štetiar wrote:
> Jordan Geoghegan <jordan at geoghegan.ca> [2020-07-13 23:06:30]:
>
>> Also, the use of "tr 'a-z'..." is unsafe for exotic locales
> Buildsystem sets LC_ALL=C explicitly, so whats the issue here?

I've reported that 'tr' behaves abnormally, that's about all I can do. 
If you guys want to be edgelords and ship a broken 'tr' in the name of 
saving 500 bytes, then that's your prerogative.

'tr' is a standard system utility, I wasn't expecting such pushback 
against making it behave as every other modern implementation does.

If there's somebody here on the mailing list with commit access that 
wants to do something about this, then I guess now is the time to have 
your say.

Regards,

Jordan Geoghegan



More information about the openwrt-devel mailing list