Prevent unnecessary console output

This commit is contained in:
Manuel Thalmann 2023-03-25 18:57:24 +01:00
parent f62659297e
commit 14bbdbdc71

View file

@ -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