IFS work for comma delimited arrays

This commit is contained in:
Mike Holloway committed 2022-03-26 19:05:24 -04:00
1 parent 16a6db49d9
commit 528bb7def0
1 file changed
+2 -1
+2 -1
View File
@@ -41,7 +41,8 @@ mdls_per_file () {
fi fi
IFS=$old_IFS IFS=$old_IFS
done done
printf '%s' $mdls_properties old_IFS=$IFS
IFS=',';printf '%s' $mdls_properties;IFS=$old_IFS
} }