NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/38737: /usr/bin/awk: incorrect regexp matching



>Number:         38737
>Category:       bin
>Synopsis:       /usr/bin/awk: incorrect matching
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 24 22:25:00 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #3: 
Wed Apr 23 00:58:08 EEST 2008 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
awk regexps work incorrectly
>How-To-Repeat:
  0 ~>printf '\t\n' | env LC_CTYPE=C awk '/^[[:cntrl:]]/ {print "It is ok"}'
  It is ok
  0 ~>printf '\t\n' | env LC_CTYPE=C awk '/^[[:cntrl:]]$/ {print "It is ok"}'
  0 ~>

>Fix:

Unknown


Home | Main Index | Thread Index | Old Index