diff --git a/qsgen2 b/qsgen2 index b6cf711..6fb05e8 100755 --- a/qsgen2 +++ b/qsgen2 @@ -105,7 +105,7 @@ else fi debug=true if (${debug}); then - qsconfig=$( cat $(pwd)/config | grep -v \# | cut -d" " -f2 ) + qsconfig=$( cat $(pwd)/config | grep -v \# | awk '{print substr($0, index($0, " ") + 1)}' ) qsconfig=$(<${qsconfig}) echo "${red}Contents of Config file:${end}" for lines in ${qsconfig}