Date: Mon, 08 Dec 2014 01:09:36 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 195792] New: awk mishandles [[:cntrl:]] Message-ID: <bug-195792-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: eggert@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195792-8>