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