NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: standards/38127: awk's: regexps should treat { and } as special, but as regular characters
The following reply was made to PR standards/38127; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
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@localhost 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@localhost
Home |
Main Index |
Thread Index |
Old Index