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