From 7f4a2d8d6d19f06162109cce29a9f4c50e7e68d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Wed, 31 Jan 2024 17:02:09 +0100 Subject: [PATCH] Debug zsh --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}