Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<you should not see this> #117

Open
Niols opened this issue Oct 31, 2019 · 1 comment
Open

<you should not see this> #117

Niols opened this issue Oct 31, 2019 · 1 comment

Comments

@Niols
Copy link
Member

Niols commented Oct 31, 2019

Morbig parses:

for a in $(b | c <<$d)
do
    e
done

as

[
    "IoHere_DLess_HereEnd",
    [
        "HereEnd_Word",
        [
            "Word",
            "$d",
            [
                [
                    "WordVariable",
                    [
                        "VariableAtom",
                        "d",
                        [
                            "NoAttribute"
                        ]
                    ]
                ]
            ]
        ]
    ],
    [
        "Word",
        "<you should not see this>",
        []
    ]
]
@Niols Niols added this to the Software Heritage milestone Oct 31, 2019
@Niols
Copy link
Member Author

Niols commented Oct 31, 2019

It is to be noted that dash also has a pretty weird behaviour on such a script.

Niols added a commit that referenced this issue Nov 25, 2019
yurug pushed a commit that referenced this issue Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant