Package: mawk Version: 1.3.3-17 Severity: normal Hi,
$ cat mawk-backslash-error.awk
!/^#/ {
gsub(/'\\'/, "'\\\\'");
print;
}
$ echo "'\'" | /usr/bin/mawk -f mawk-backslash-error.awk
'\'
If I use gawk:
$ echo "'\'" | /usr/bin/gawk -f mawk-backslash-error.awk
'\\'
This issue has been also reported here:
https://bugs.launchpad.net/ubuntu/+source/mawk/+bug/102208
http://code.google.com/p/original-mawk/issues/detail?id=14
I noticed this problem because xmlstarlet package (1.4.0-1) needs this
code to be able to build. As a workarond I am forcing xmlstarlet to
build against gawk instead of generic awk.
Thanks!
--- System information. ---
Architecture: i386
Kernel: Linux 3.2.0-3-686-pae
Debian Release: wheezy/sid
900 testing security.debian.org
900 testing ftp.debian.org
850 stable security.debian.org
850 stable ftp.debian.org
500 unstable ftp.debian.org
500 stable-updates ftp.debian.org
signature.asc
Description: This is a digitally signed message part

