From 330014e4bbc0a7161b24eb2a789aafde6b59aed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Tue, 30 Jan 2024 01:16:42 +0100 Subject: [PATCH] Debugging --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 86a4b97..5b63b07 100755 --- a/qsgen2 +++ b/qsgen2 @@ -314,7 +314,7 @@ function _pages() { # Grab the title from the Page if (${debug}) echo "_pages: Grepping for page_title" - page_title=$( echo ${page_content} | head -1 | grep \#title | cut -d= -f2 ) + page_title=$( echo ${page_content} | head -2 | grep \#title | cut -d= -f2 ) # Remove the #title line from the buffer. No longer needed. if (${debug}) echo "_pages: Removing #title line from page_content"