Skip to content

Passing string as input raises "sed: unsupported command e" on Alpine #15

Open
@adnan360

Description

@adnan360

I tried something like this on a GitLab build based on Alpine Linux:

BODY_SOURCE=$(echo "$BODY_SOURCE" | sh inc/markdown.bash/markdown.sh /dev/stdin)

It works on a Void Linux machine just fine, but not on Alpine. It gave me a:

sed: unsupported command e

It seems to be doing this on this line of markdown.sh:

while grep '^[\*\+\-] ' "$temp_file" >/dev/null

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