From 5730683ef5f821a265460a1f907b5555ccceeef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 29 Jan 2024 22:26:48 +0100 Subject: [PATCH] I think I found the bug --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 9cf1b98..046c770 100755 --- a/qsgen2 +++ b/qsgen2 @@ -312,7 +312,7 @@ function _pages() { # Grab the title from the Page if (${debug}) echo "_pages: Grepping for page_title" - page_title=$( grep '#title' ${page_content} | head -2 | cut -d= -f2 > /dev/null ) + page_title=$( head -2 ${page_content} | grep '#title' | cut -d= -f2 ) echo "Page Title: ${page_title}" exit