[Bug 195792] New: awk mishandles [[:cntrl:]]
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 8 01:09:36 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195792
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:]]/'
x
The output should be empty, but awk mistakenly acts as if "x" is a control
character.
This bug broke a script that we use in GNU Emacs development; please see:
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00704.html
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list