NetBSD Problem Report #38127

From cheusov@tut.by  Fri Feb 29 19:17:03 2008
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7D51E63B90D
	for <gnats-bugs@gnats.netbsd.org>; Fri, 29 Feb 2008 19:17:03 +0000 (UTC)
Message-Id: <s93lk53po7v.fsf@chen.chizhovka.net>
Date: Fri, 29 Feb 2008 21:16:52 +0200
From: cheusov@tut.by
Reply-To:
To: gnats-bugs@gnats.NetBSD.org
Subject: awk's: regexps should treat { and } as special, but as regular characters
X-Send-Pr-Version: 3.95

>Number:         38127
>Category:       standards
>Synopsis:       awk's: regexps should treat { and } as {n,m}, but as regular characters
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    standards-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 29 19:20:00 +0000 2008
>Closed-Date:    Sat Dec 31 01:01:31 +0000 2022
>Last-Modified:  Sat Dec 31 01:01:31 +0000 2022
>Originator:     cheusov@tut.by
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #2: Tue Dec 25 17:42:38 EET 2007 cheusov@chen.chizhovka.net:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
NetBSD version of awk (nawk) violates SUS when treating curly braces as
regular characters.

http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html#tag_09_04

>How-To-Repeat:

>Fix:

Unknown
>Release-Note:

>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: standards/38127: awk's: regexps should treat { and } as special,
 but as regular characters
Date: Sun, 12 Jun 2016 02:54:57 +0000

 On Fri, Feb 29, 2008 at 07:20:01PM +0000, cheusov@tut.by wrote:
  > NetBSD version of awk (nawk) violates SUS when treating curly braces as
  > regular characters.
  > 
  > http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html#tag_09_04

 This is not fixed:

    macaran% echo 'hhhi' | gawk '/h{2}/ { print $0; }'
    hhhi
    macaran% echo 'hhhi' | awk '/h{2}/ { print $0; }'
    macaran% 

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 31 Dec 2022 01:01:31 +0000
State-Changed-Why:
Sometime since 2016 it did get fixed; it works now.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.