From 36ed1dfb7ed39265ea37f7ddc067cad6f517dba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 29 Jan 2024 22:01:59 +0100 Subject: [PATCH] Debug time --- qsgen2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qsgen2 b/qsgen2 index 2499c63..7b6515d 100755 --- a/qsgen2 +++ b/qsgen2 @@ -312,6 +312,9 @@ function _pages() { # Grab the title from the Page page_title=$( grep '#title' ${page_content} | head -2 | cut -d= -f2 ) + echo "Page Title: ${page_title}" + exit + # Remove the #title line from the buffer. No longer needed. page_content=$( grep -v '#title' ${page_content} )