package gawk
retitle 337529 gawk: Default handling of non-decimal data differs from other 
awks
severity 337529 minor
tag 337529 wontfix
thanks


Hello,

The conclusion seems to be that gawk can handle hexadecimal data like
mawk and original-awk, but doesn't do so by default. You can use the
following 'portable' workarounds if you want to process hexadecimal
data with awk:

    awk -Wnon-decimal-data '...'
        awk -Wposix '...'
    POSIXLY_CORRECT=1 awk '...'

The first two might produce (harmless) warnings when awk points to
mawk or original-awk. Putting gawk in POSIX mode (the latter two)
changes more than just the handling of non-decimal-data.

Note that gawk (when used as above) and mawk process data with the
format 0[0-7]+ as octa, while original-awk doesn't.

Because of the existing workarounds I'm reducing the severity of this
bug to minor and tagging it as wontfix.

Regards,
-- 
Jeroen Schot



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to