[Bug 13726] New: CONFIG_FEATURE_TR_CLASSES should support POSIX character classes

bugzilla at busybox.net bugzilla at busybox.net
Tue Apr 6 22:19:20 UTC 2021


            Bug ID: 13726
           Summary: CONFIG_FEATURE_TR_CLASSES should support POSIX
                    character classes
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: opal at wowana.me
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

For the `tr` utility, currently only [:upper:] and [:lower:] character classes
are supported with CONFIG_FEATURE_TR_CLASSES. POSIX defines support for
additional character classes; from tr(1p):

[:class:] Represents  all characters belonging to the defined character
          class, as defined by the current setting of the LC_CTYPE  lo‐
          cale  category.  The following character class names shall be
          accepted when specified in string1:

          alnum   blank   digit   lower   punct   upper
          alpha   cntrl   graph   print   space   xdigit

I haven't looked too in-depth into the code around this, so I don't know how
feasible it would be to add some or all of the additional classes.

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

More information about the busybox-cvs mailing list