From a75a5ed7bfe76f34af238dd753b5e10f4d6321a3 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Thu, 20 Feb 2025 09:25:37 +0100 Subject: [PATCH] pkg-auto: Strip only one space when printing help --- pkg_auto/impl/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_auto/impl/util.sh b/pkg_auto/impl/util.sh index 83e0ee94ce..c2763ad3e8 100644 --- a/pkg_auto/impl/util.sh +++ b/pkg_auto/impl/util.sh @@ -141,7 +141,7 @@ function yell() { # hashes in the top sourcer of this file. function print_help() { if [[ ${THIS} != "${BASH}" ]]; then - grep '^##' "${THIS}" | sed -e 's/##[[:space:]]*//' + grep '^##' "${THIS}" | sed -e 's/##[[:space:]]\?//' fi }