Skip to content

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

@ktchu

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))

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