← Back to team overview

touch-packages team mailing list archive

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

 

Why are we still using the old 1.3.3 version, and not Thomas Dickey's
1.3.4 ?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Confirmed
Status in mawk package in Debian:
  Confirmed

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