Skip to content

Cannot parse a herestring that follows a file redirect #282

Open
@Xophmeister

Description

@Xophmeister

The grammar, as of d1a1a3f, cannot parse a herestring that follows a file redirect:

rev > output <<< hello

(This will write olleh to a file named output, FWIW.)

The grammar can parse the equivalent statement, when the file redirect and herestring are switched:

rev <<< hello > output

Possibly related: #260

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions