Don't pipe to /dev/null

This commit is contained in:
Stig-Ørjan Smelror 2024-01-29 22:38:05 +01:00
parent 7061b70d11
commit 7ff7c11781

2
qsgen2
View File

@ -316,7 +316,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 > /dev/null )
page_title=$( echo ${page_content} | head -1 | grep '#title' | cut -d= -f2 )
echo "Page Title: ${page_title}"
exit