Skip to content

LINE_NUM incrementation seems to be incompatible with bash shipped with Ubuntu 12.04.2 #5

Description

@ktchu

Bug: LINE_NUM incrementation throws an "exception" when run in bash that ships with Ubuntu 12.04.2. Error was caught when using bash 'trap' mechanism to do exception handling.

Proposed solution: change ((LINE_NUM++)) to LINE_NUM=$(($LINE_NUM + 1))

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