[Bug 14331] New: tr doesn’t understand [:class:] character classes

bugzilla at busybox.net bugzilla at busybox.net
Sun Nov 7 19:29:45 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=14331

            Bug ID: 14331
           Summary: tr doesn’t understand [:class:] character classes
           Product: Busybox
           Version: 1.30.x
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: calestyo at scientia.org
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Hey.

Unlike mandated by POSIX:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/tr.html

busybox' tr doesn't seem to understand any of the character classes,... and I'd
guess neither the other formats given in the EXTENDED DESCRIPTION of POSIX.

Not only does it not understand this, but it even takes such characters literal
so e.g. when using
busybox tr -d '[:alpha:]'
it will remove 'a' and so on.

Cheers,
Chris.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list