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

This commit is contained in:
Mike Holloway 2022-03-26 19:09:52 -04:00
parent fb583285e5
commit 6a57064a74

View File

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