[Bug 69724] Re: Mawk does not support Posix character classes in expressions

Bug Watch Updater 69724 at bugs.launchpad.net
Mon Jan 27 20:16:00 UTC 2020


** Changed in: mawk (Debian)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mawk in Ubuntu.
https://bugs.launchpad.net/bugs/69724

Title:
  Mawk does not support Posix character classes in expressions

Status in mawk package in Ubuntu:
  Triaged
Status in mawk package in Debian:
  Fix Released

Bug description:
  Binary package hint: mawk

  Mawk does not support Posix character classes, such as [:upper:] and
  [:lower:], in regular expressions.  This makes it more difficult to
  write portable Awk scripts (since [A-Z] match lower-case characters in
  Gawk using non-English locales)

  E.G.:

  $ echo x | mawk '/[[:lower:]]/'
  $ echo x | gawk '/[[:lower:]]/'
  x
  $

  Attached is a patch to fix this issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mawk/+bug/69724/+subscriptions



More information about the foundations-bugs mailing list