From 7061b70d113dbd88087d0230214ebf2f64e92ab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 29 Jan 2024 22:37:07 +0100 Subject: [PATCH] Trying echo again --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index d277af9..a10b475 100755 --- a/qsgen2 +++ b/qsgen2 @@ -316,7 +316,7 @@ function _pages() { # Grab the title from the Page if (${debug}) echo "_pages: Grepping for page_title" - page_title=$( head -1 ${page_content} | grep '#title' | cut -d= -f2 ) + page_title=$( echo ${page_content} | head -1 | grep '#title' | cut -d= -f2 > /dev/null ) echo "Page Title: ${page_title}" exit