Improving debug output for mdls values as prepared for csv lines

rewrite-2022-03-26
Mike Holloway 3 years ago
parent 05c46480fa
commit 2a491037a0
  1. 2
      hash-files

@ -33,7 +33,7 @@ mdls_per_file () {
mdls_value=$(printf "%s" $line | cut -d '=' -f 2) mdls_value=$(printf "%s" $line | cut -d '=' -f 2)
if [[ " ${keys_of_interest[*]} " =~ " ${mdls_key} " ]];then if [[ " ${keys_of_interest[*]} " =~ " ${mdls_key} " ]];then
IFS=$old_IFS IFS=$old_IFS
: #printf "\n============================\nMDLS Key: %s\nMDLS Value: %s\n============================\n\n" $mdls_key $mdls_value echo -e ",${mdls_value}"
unset IFS unset IFS
else else
: #echo "Did not print!" : #echo "Did not print!"

Loading…
Cancel
Save