Skip to content

Bug: Comparison of zero to uninitialized variable returns true, and handling of long integers #13

Description

@bertysentry

The below script Awk prints "wrong":

// { a = 0 ; if (a == "") { print "wrong" } else { print "right" } }

Also, integer numbers greater than 2^31 are treated as Double, and output with a pseudo-scientific notation (3.45789E+9), which is not the behavior of the "official" awk.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions