From 6cd664dba6fd91481a6ece4c36f6c77b0744c093 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Fri, 12 Jun 2026 10:12:25 +0100 Subject: [PATCH] remove unnecessary backslash from grep expression in http/bin/blog --- http/bin/blog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http/bin/blog b/http/bin/blog index 7038e4a..1c77f5a 100755 --- a/http/bin/blog +++ b/http/bin/blog @@ -96,9 +96,9 @@ do title="$name" cat "$entry" | eval "POST_TITLE=\"${title}\" ${postprocess_cmd}" > "$dest" else - title="$(grep --regexp "^\# " --max-count 1 "$entry" | cut -c3-)" + title="$(grep --regexp "^# " --max-count 1 "$entry" | cut -c3-)" export POST_TITLE="$title" - cat "$entry" | grep --regexp "^\# " --invert-match | eval "$postprocess_cmd" > "$dest" + cat "$entry" | grep --regexp "^# " --invert-match | eval "$postprocess_cmd" > "$dest" fi cat "$entry" | eval "$extract_args_cmd" > "${dest}.args" echo "Processed ${entry#$(dirname ${BLOGS})/} to ${dest#$(dirname ${SRC})/}"