echo vs printf for proper delimiter? Let's find out

rewrite-2022-03-26
Mike Holloway 2 years ago
parent fb583285e5
commit 6a57064a74
  1. 2
      hash-files

@ -42,7 +42,7 @@ mdls_per_file () {
IFS=$old_IFS
done
old_IFS=$IFS
IFS=',';printf '%s' ${mdls_properties[@]};IFS=$old_IFS
IFS=',';echo ${mdls_properties[*]};IFS=$old_IFS
}

Loading…
Cancel
Save