Re: 'tr' character class support?

2020-07-21 Thread Sam Kuper
Dear all, I'm not an OpenWRT dev, just a lurker on the mailing list & a sometime user of OpenWRT. (Thank you to all the devs & maintainers of OpenWRT & packages, btw.) So, my view might not count for much, but ... On Fri, Jul 10, 2020 at 09:36:03PM -0400, Eric Luehrsen wrote: > I did a

Re: AW: 'tr' character class support?

2020-07-11 Thread Jordan Geoghegan
On 2020-07-11 06:08, Magnus Kroken wrote: Hi On 11.07.2020 09:18, Thomas Endt wrote: --- Config-defaults.in.orig Fri Jul 10 21:03:57 2020 +++ Config-defaults.in  Fri Jul 10 21:03:22 2020 @@ -837,7 +837,7 @@   default y    config BUSYBOX_DEFAULT_FEATURE_TR_CLASSES   bool - 

AW: 'tr' character class support?

2020-07-11 Thread Thomas Endt
> -Ursprüngliche Nachricht- > Von: openwrt-devel Im > Auftrag von Jordan Geoghegan > Gesendet: Samstag, 11. Juli 2020 06:22 > --- Config-defaults.in.orig Fri Jul 10 21:03:57 2020 > +++ Config-defaults.in Fri Jul 10 21:03:22 2020 > @@ -837,7 +837,7 @@ > default y > config

AW: 'tr' character class support?

2020-07-11 Thread Thomas Endt
> -Ursprüngliche Nachricht- > Von: openwrt-devel Im > Auftrag von Jordan Geoghegan > Gesendet: Samstag, 11. Juli 2020 02:16 > Is a couple kb of space worth such a loss in portability (not to mention > deviating heavily from POSIX)? If you ask the guys with 4/32 devices the answer can

Re: 'tr' character class support?

2020-07-10 Thread Jordan Geoghegan
Woops, accidentally mangled whitespace in my last diff. Fix below On 2020-07-10 21:13, Jordan Geoghegan wrote: Please find patch to enable character classes in 'tr' below. On 2020-07-10 20:33, Rosen Penev wrote: On Fri, Jul 10, 2020 at 5:15 PM Jordan Geoghegan wrote: On 2020-07-10 16:59,

Re: 'tr' character class support?

2020-07-10 Thread Jordan Geoghegan
Please find patch to enable character classes in 'tr' below. On 2020-07-10 20:33, Rosen Penev wrote: On Fri, Jul 10, 2020 at 5:15 PM Jordan Geoghegan wrote: On 2020-07-10 16:59, Rosen Penev wrote: On Fri, Jul 10, 2020 at 4:17 PM Jordan Geoghegan wrote: On 2020-07-10 14:54, Rosen Penev

Re: 'tr' character class support?

2020-07-10 Thread Rosen Penev
On Fri, Jul 10, 2020 at 5:15 PM Jordan Geoghegan wrote: > > > > On 2020-07-10 16:59, Rosen Penev wrote: > > On Fri, Jul 10, 2020 at 4:17 PM Jordan Geoghegan > > wrote: > >> > >> > >> On 2020-07-10 14:54, Rosen Penev wrote: > >>> On Fri, Jul 10, 2020 at 2:29 PM Jordan Geoghegan > >>> wrote: >

Re: 'tr' character class support?

2020-07-10 Thread Eric Luehrsen
On 7/10/20 8:15 PM, Jordan Geoghegan wrote: On 2020-07-10 16:59, Rosen Penev wrote: On Fri, Jul 10, 2020 at 4:17 PM Jordan Geoghegan wrote: On 2020-07-10 14:54, Rosen Penev wrote: On Fri, Jul 10, 2020 at 2:29 PM Jordan Geoghegan wrote: On 2020-07-10 14:15, Magnus Kroken wrote: Hi

Re: 'tr' character class support?

2020-07-10 Thread Jordan Geoghegan
On 2020-07-10 16:59, Rosen Penev wrote: On Fri, Jul 10, 2020 at 4:17 PM Jordan Geoghegan wrote: On 2020-07-10 14:54, Rosen Penev wrote: On Fri, Jul 10, 2020 at 2:29 PM Jordan Geoghegan wrote: On 2020-07-10 14:15, Magnus Kroken wrote: Hi Jordan On 10.07.2020 22:45, Jordan Geoghegan

Re: 'tr' character class support?

2020-07-10 Thread Rosen Penev
On Fri, Jul 10, 2020 at 4:17 PM Jordan Geoghegan wrote: > > > > On 2020-07-10 14:54, Rosen Penev wrote: > > On Fri, Jul 10, 2020 at 2:29 PM Jordan Geoghegan > > wrote: > >> > >> > >> On 2020-07-10 14:15, Magnus Kroken wrote: > >>> Hi Jordan > >>> > >>> On 10.07.2020 22:45, Jordan Geoghegan

Re: 'tr' character class support?

2020-07-10 Thread Jordan Geoghegan
On 2020-07-10 14:54, Rosen Penev wrote: On Fri, Jul 10, 2020 at 2:29 PM Jordan Geoghegan wrote: On 2020-07-10 14:15, Magnus Kroken wrote: Hi Jordan On 10.07.2020 22:45, Jordan Geoghegan wrote: Hey folks, Does the 'tr' utility support character classes in OpenWRT? I was playing around

Re: 'tr' character class support?

2020-07-10 Thread Rosen Penev
On Fri, Jul 10, 2020 at 2:29 PM Jordan Geoghegan wrote: > > > > On 2020-07-10 14:15, Magnus Kroken wrote: > > Hi Jordan > > > > On 10.07.2020 22:45, Jordan Geoghegan wrote: > >> Hey folks, > >> > >> Does the 'tr' utility support character classes in OpenWRT? I was > >> playing around with an

Re: 'tr' character class support?

2020-07-10 Thread Jordan Geoghegan
On 2020-07-10 14:15, Magnus Kroken wrote: Hi Jordan On 10.07.2020 22:45, Jordan Geoghegan wrote: Hey folks, Does the 'tr' utility support character classes in OpenWRT? I was playing around with an OpenWRT x86_64 VM and I noticed that 'tr' doesn't seem to support character classes. The

Re: 'tr' character class support?

2020-07-10 Thread Magnus Kroken
Hi Jordan On 10.07.2020 22:45, Jordan Geoghegan wrote: Hey folks, Does the 'tr' utility support character classes in OpenWRT? I was playing around with an OpenWRT x86_64 VM and I noticed that 'tr' doesn't seem to support character classes. The command " echo HELLO | tr '[:upper:]'

'tr' character class support?

2020-07-10 Thread Jordan Geoghegan
Hey folks, Does the 'tr' utility support character classes in OpenWRT? I was playing around with an OpenWRT x86_64 VM and I noticed that 'tr' doesn't seem to support character classes. The command " echo HELLO | tr '[:upper:]' '[:lower:]' "  does not convert to the text to lowercase as it