From fe2d738b428d328a4a0d043464a612f8513cd8fe Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Sat, 26 Mar 2022 17:04:02 -0400 Subject: [PATCH] On branch parse-mdls Your branch is up to date with 'origin/parse-mdls'. Changes to be committed: modified: hash-files Added array delimiter replacement for csv-formatted output --- hash-files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash-files b/hash-files index 0dce265..b1cc860 100755 --- a/hash-files +++ b/hash-files @@ -67,7 +67,7 @@ create_csv () { for key in ${keys_of_interest[@]};do csv_columns+=( ${keys_of_interest[key]} ) done - echo ${csv_columns[@]} + IFS=',';echo "${csv_columns[*]}";IFS=$'\n' # for i in ${!list_of_files[@]}; do # csv_array+=( ${list_of_files[i]},${list_of_hashes[i]} ) # done