From 7070264c015729e37eb9c2ba0bc2da5a8744b620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 29 Jan 2024 22:28:56 +0100 Subject: [PATCH] Trying more debugging --- qsgen2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qsgen2 b/qsgen2 index 046c770..23f8be5 100755 --- a/qsgen2 +++ b/qsgen2 @@ -310,6 +310,9 @@ function _pages() { if (${debug}) echo "_pages: Loading page_content" local page_content="$(<${pages_in_array})" + echo "PAGE CONTENT" + echo "$page_content" + # Grab the title from the Page if (${debug}) echo "_pages: Grepping for page_title" page_title=$( head -2 ${page_content} | grep '#title' | cut -d= -f2 )