Skip to content

Handle command i, a, c in multiple -e #1

@aureliojargas

Description

@aureliojargas

GNU sed can handle a single command i, a or c specified in multiple -e calls, sedparse cannot.

$ seq 5 | sed -e '3i\' -e foo
1
2
foo
3
4
5
$ sedparse -e '3i\' -e foo
sedparse: -e expression #2, char 1: unknown command: `f'
$

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions