From 6a57064a74827d4cd9ccda92132f17955ad43be8 Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Sat, 26 Mar 2022 19:09:52 -0400 Subject: [PATCH] echo vs printf for proper delimiter? Let's find out --- hash-files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash-files b/hash-files index 38e87d3..84e0ca8 100755 --- a/hash-files +++ b/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 }