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

introduced
parse-mdls
Mike Holloway 3 years ago
parent 6d20ec3a3c
commit 62f093dd89
  1. 7
      mdls-parse

@ -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

Loading…
Cancel
Save