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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 29 19:20:00 +0000 2008
>Last-Modified:  Sun Jun 12 02:55:01 +0000 2016
>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

>Fix:

Unknown
>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

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.