From 04edfff25e657baf04f7d56bc7770154818750ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Wed, 14 Feb 2024 12:55:01 +0100 Subject: [PATCH] _msg: Debug --- qsgen2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index 9a3b5e0..b91af4b 100755 --- a/qsgen2 +++ b/qsgen2 @@ -48,15 +48,13 @@ ${language} if (${globaldebug}); then qsconfig=$( cat $(pwd)/config | grep -v \# | awk '{print substr($0, index($0, " ") + 1)}' ) - echo "_qsgen2_msg_9" + echo "Content of Config file" for qslines in ${qsconfig} do echo "${yellow}${qslines}${end}" done fi -exit - function _msg() { local type=$1 shift # Remove the first argument so $@ now contains only message keys or parts @@ -98,6 +96,8 @@ function _msg() { printf "%s\n" "$full_msg" ;; esac + + echo "Debugging full_msg: $full_msg" } function _version() {