Skip to content

Incorrect echo file redirection chaining behavior #1

@DeusExFiasco

Description

@DeusExFiasco

Brief:
When chaining echo with redirections to multiple files, the behavior is not the same as Bash.

For example;
echo > outfile hello > outfile2 world
should write hello world in outfile2.

This is due to redirections, heredocs and pipes (<, >, >>, << and |) being treated as delimiter tokens for the echo built-in. To solve this I must redesign how echo handles everything after it entirely.

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