diff --git a/qsgen2 b/qsgen2 index abe389e..d4f0a31 100755 --- a/qsgen2 +++ b/qsgen2 @@ -308,13 +308,13 @@ function _pages() { local page_content="$(<${pages_in_array})" # Grab the title from the Page - page_title=$( grep '#title' ${page_content} | head -2 | cut -d= -f2 ) + page_title=$( grep '#title' ${page_content} | head -2 | cut -d= -f2 > /dev/null ) echo "Page Title: ${page_title}" exit # Remove the #title line from the buffer. No longer needed. - page_content=$( grep -v '#title' ${page_content} ) + page_content=$( grep -v '#title' ${page_content} > /dev/null ) echo "${page_content}" exit