Skip to content

--posix -e 'a\bar' causes an error #144

@cakebaker

Description

@cakebaker

Another issue found with the fuzzer:

$ printf "foo" | cargo run -q sed --posix -e 'a\bar'
sed: <script argument 1>:1:3: error: extra characters after \ at the end of `a' command
$ printf "foo" | sed --posix -e 'a\bar'
foo
bar

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