From 60477d0826e15b2f14b6db656b9c406774ff943e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Tue, 30 Jan 2024 00:11:38 +0100 Subject: [PATCH] A debug setting --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index ceef91b..879b35f 100755 --- a/qsgen2 +++ b/qsgen2 @@ -349,7 +349,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" - pages_tpl=$( echo ${pages_tpl} | sed -e 's|BODY|${page_content}|g' ) + pages_tpl=$( echo ${pages_tpl} | sed -e "s|BODY|${page_content}|" ) echo "${magenta}AFTER BODY HAS BEEN REPLACED${end}" echo ${pages_tpl}