diff --git a/Dockerfile b/Dockerfile index cd439d4..6f3e450 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,7 +58,7 @@ RUN \ sed \ -u \ # Handle multiple occurrences of $pattern - -e "/$pattern/{ x; s/^x\{$(expr $patternCount - 1)\}$/\0/; t stuck; s/^\(x*\)$/\1x/; x; };" \ + -e "/$pattern/{ x; s/^x\{$(expr $patternCount - 1)\}$/\0/; x; t stuck; x; s/^\(x*\)$/\1x/; x; };" \ # Delete output and return to start -e "b;" \ # Branch "stuck": delete output and exit with code 42