From 3be7ee9ccba41f7c6ee89fe2dfe360f7ffa4ce6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Tue, 30 Jan 2024 01:03:31 +0100 Subject: [PATCH] Debugging --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 2e08184..0b8595d 100755 --- a/qsgen2 +++ b/qsgen2 @@ -339,7 +339,7 @@ function _pages() { # Insert page_content into pages_tpl by replacing the BODY tag present there if (${debug}) echo "_pages: Replacing BODY with page_content in pages_tpl" - echo ${pages_tpl} | grep BODY | sed -e "s/BODY/${page_content}/" + echo ${pages_tpl} | sed -e 's/BODY/${page_content}/g' # >> ${www_root}/${pages_title_lower%.*}.html # Always use lowercase for file names