Superflous k issue debugged - output is direct from mdls where 'k' is

introduced
This commit is contained in:
Mike Holloway 2022-03-26 15:06:00 -04:00
parent 6d20ec3a3c
commit 62f093dd89

View File

@ -10,11 +10,6 @@ IFS=$'\n'
for line in $(mdls .env); do
mdls_key=$(printf "%s" $line | cut -d '=' -f 1)
mdls_value=$(printf "%s" $line | cut -d '=' -f 2)
echo "================================"
echo $mdls_key
echo "--------------------------------"
echo $mdls_value
echo "================================"
# printf "\n============================\nMDLS Key: %s\nMDLS Value: %s\n============================\n\n" $mdls_key $mdls_value
printf "\n============================\nMDLS Key: %s\nMDLS Value: %s\n============================\n\n" $mdls_key $mdls_value
done
unset IFS