Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adnan360 opened this issue Jan 12, 2021 · 1 comment
Open

Comments

@adnan360
Copy link

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
@escoand
Copy link

escoand commented Aug 8, 2024

Had the same problem. The solution is to install a full sed with apk add sed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants