[Bug 5126] New: awk doesn't handle C-escapes in argument to -F
bugzilla at busybox.net
bugzilla at busybox.net
Thu Apr 19 11:57:45 UTC 2012
https://bugs.busybox.net/show_bug.cgi?id=5126
Summary: awk doesn't handle C-escapes in argument to -F
Product: Busybox
Version: 1.19.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Standard Compliance
AssignedTo: unassigned at busybox.net
ReportedBy: dubiousjim at gmail.com
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
BusyBox 1.19.3, built against uClibc 0.9.32, on i686 Linux
This works properly:
$ printf 'abc!def' | awk -v FS='\x21' '{print $1}'
abc
This should work the same way, but doesn't:
$ printf 'abc!def' | awk -F'\x21' '{print $1}'
abc!def
The same issue affects `awk -F'\t' ...` and so on.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list