[Bug 195792] New: awk mishandles [[:cntrl:]]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 8 01:09:36 UTC 2014


            Bug ID: 195792
           Summary: awk mishandles [[:cntrl:]]
           Product: Base System
           Version: 9.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: eggert at cs.ucla.edu

Here's a shell session illustrating the problem:

$ export LC_ALL=C
$ export PATH=/usr/bin:/bin
$ echo x | awk '/[[:cntrl:]]/'

The output should be empty, but awk mistakenly acts as if "x" is a control

This bug broke a script that we use in GNU Emacs development; please see:


You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list