Passing string as input raises "sed: unsupported command e" on Alpine
Opened this issue · 1 comments
adnan360 commented
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 commented
Had the same problem. The solution is to install a full sed with apk add sed
.