Skip to content
This repository was archived by the owner on May 9, 2022. It is now read-only.
This repository was archived by the owner on May 9, 2022. It is now read-only.

Bash Compatibility: += Operator #6

@eth-p

Description

@eth-p

conch-parser incorrectly parses the += operator.

In the context of array concatenation:

  arr+=(appended)
# ^^^^^ ^^^^^^^^ -- Subshell Command
# | -- Command

In the context of string concatenation:

  foo+="bar"
# ^^^^^^^^^^ -- Command: Concat([Simple(Literal("foo+=")), DoubleQuoted([Literal("bar")])])

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