From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020315 Description of problem: If the --non-decimal-data option is used and gawk sees "0x" in the input it flags an error. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.echo "0x" | gawk-3.1.0 --non-decimal-data '{print 0+$1}' 2. 3. Actual Results: gawk-3.1.0: builtin.c:2281: nondec2awknum: Assertion `len > 2' failed. Aborted Expected Results: "0x" should be treated like text. Additional info: I'll attach a patch soon which is similar to what will be in the next official version of gawk.
Created attachment 48805 [details] Patch to treat 0x as text
Patch added to 3.0.4-4. Thanks, Florian La Roche