Debian Bug report logs - #314323
mawk: please implement POSIX-style character classes

version graph

Package: mawk; Maintainer for mawk is Boyuan Yang <byang@debian.org>; Source for mawk is src:mawk (PTS, buildd, popcon).

Reported by: cheusov@scnsoft.com

Date: Wed, 15 Jun 2005 18:18:03 UTC

Severity: normal

Tags: fixed-upstream

Merged with 65617

Found in versions 1.3.3-5, 1.3.3a-11

Fixed in version 1.3.4.20200120-1~exp1

Done: Andreas Henriksson <andreas@fatal.se>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Aleksey Cheusov <vle@gmx.net>, James Troup <james@nocrew.org>:
Bug#314323; Package mawk. (full text, mbox, link).


Acknowledgement sent to cheusov@scnsoft.com:
New Bug report received and forwarded. Copy sent to Aleksey Cheusov <vle@gmx.net>, James Troup <james@nocrew.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: cheusov@scnsoft.com
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mawk: mawk's regexps don't conform to POSIX
Date: 15 Jun 2005 21:13:28 +0300
Package: mawk
Version: 1.3.3a-11
Severity: normal
Tags: patch

Hi.
As you may know, mawk's internal regular expression engine
doesn't support character classes and therefore is not conformant
to POSIX regexp.

I've written patch which builds mawk with external regexp engine.
There are lots of different regexp engines world-wide.
You can use any of them
On most modern systems system-wide regexp engine also conforms to POSIX.
As a result mawk conforms to POSIX regexp, if you build
it with appropriate regexp engine like this.

# regexec/regcomp functions from libc will be used
./configure && make

# TRE implementation will be used
CFLAGS='-O3 -I/usr/include/tre' LDFLAGS='-ltre' ./configure && make

Whether UTF-8 support is provided or not
also depends on external regexp library.

If you find bugs in it, let me know.

The patch is here.

Do not forget to run antoconf
to create new 'configure' script.

http://www.mova.org/~cheusov/pub/mawk_external_regexp.patch


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.22-ac4-pktcd
Locale: LANG=ru_RU.cp1251, LC_CTYPE=ru_RU.cp1251 (charmap=CP1251)

Versions of packages mawk depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, James Troup <james@nocrew.org>:
Bug#314323; Package mawk. (full text, mbox, link).


Acknowledgement sent to Aleksey Cheusov <vle@gmx.net>:
Extra info received and forwarded to list. Copy sent to James Troup <james@nocrew.org>. (full text, mbox, link).


Message #10 received at submit@bugs.debian.org (full text, mbox, reply):

From: Aleksey Cheusov <vle@gmx.net>
To: 314323@bugs.debian.org
Cc: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: Bug#314323: mawk: mawk's regexps don't conform to POSIX
Date: Thu, 16 Jun 2005 15:47:52 +0300
 > Package: mawk
 > Version: 1.3.3a-11
 > Severity: normal
 > Tags: patch

 > Hi.
 > As you may know, mawk's internal regular expression engine
 > doesn't support character classes and therefore is not conformant
 > to POSIX regexp.

 > I've written patch which builds mawk with external regexp engine.
[skipped]
Do not forget to run 'autoconf'
before configuring mawk.
autoconf2.13 works fine.

-- 
Best regards, Aleksey Cheusov.




Information forwarded to debian-bugs-dist@lists.debian.org, James Troup <james@nocrew.org>:
Bug#314323; Package mawk. (full text, mbox, link).


Acknowledgement sent to Aleksey Cheusov <vle@gmx.net>:
Extra info received and forwarded to list. Copy sent to James Troup <james@nocrew.org>. (full text, mbox, link).


Message sent on to cheusov@scnsoft.com:
Bug#314323. (Mon, 13 Jul 2009 00:39:07 GMT) (full text, mbox, link).


Message #18 received at 314323-submitter@bugs.debian.org (full text, mbox, reply):

From: Thomas Dickey <dickey@his.com>
To: 314323-submitter@bugs.debian.org
Subject: re: #314323 mawk: mawk's regexps don't conform to POSIX
Date: Sun, 12 Jul 2009 20:30:37 -0400
[Message part 1 (text/plain, inline)]
See

	ftp://invisible-island.net/mawk/

for an updated version including Cheusov's change.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
[signature.asc (application/pgp-signature, inline)]

Added tag(s) fixed-upstream. Request was from Thomas Dickey <dickey@his.com> to control@bugs.debian.org. (Thu, 30 Jul 2009 23:36:13 GMT) (full text, mbox, link).


Merged 65617 314323. Request was from Thomas Dickey <dickey@his.com> to control@bugs.debian.org. (Fri, 31 Jul 2009 01:03:05 GMT) (full text, mbox, link).


Added tag(s) patch; removed tag(s) fixed-upstream patch. Request was from Thomas Dickey <dickey@his.com> to control@bugs.debian.org. (Fri, 31 Jul 2009 01:12:05 GMT) (full text, mbox, link).


Changed Bug title to 'mawk: please implement POSIX-style character classes' from 'mawk: mawk's regexps don't conform to POSIX' Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Mon, 01 Mar 2010 17:54:07 GMT) (full text, mbox, link).


Removed tag(s) patch. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Mon, 01 Mar 2010 17:54:08 GMT) (full text, mbox, link).


Message #29 received at 65617-done@bugs.debian.org (full text, mbox, reply):

From: Andreas Henriksson <andreas@fatal.se>
To: 65617-done@bugs.debian.org
Subject: Re: mawk: please implement POSIX-style character classes
Date: Sun, 26 Jan 2020 19:51:46 +0100
Version: 1.3.4.20200120-1~exp1

As the previous discussion on this bug report seems to have concluded
that the problem was fixed in new upstream version I'm closing this
bug using the current version available in experimental as of now.
Please feel free to reopen and describe the current status if you
find the problem is not fixed in the new version.

Regards,
Andreas Henriksson



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 24 Feb 2020 07:25:54 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 05:53:23 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.