Skip to content

Commit

Permalink
Updated documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbggrant committed May 19, 2022
1 parent bc1318f commit 0ad3c70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1266,8 +1266,8 @@ task GenerateFinalReport {
declare -a VNS=(~{sep=' ' validation_names})

# the strings in validation_results may contain spaces, so we cannot directly sep it (by space) into an array
# So, first separate it by '&' (unlikely to be used in results)
# And then create a bash array using read with IFS set to '&'
# So, first convert it into a string with constituent strings sep'd by the '&' (chosen as it is unlikely to be used in results)
# And then convert the string into a bash array using read with IFS set to '&'
declare -a VRS_STRING="~{sep='&' validation_results}"
IFS='&' read -r -a VRS <<< "$VRS_STRING"

Expand Down

0 comments on commit 0ad3c70

Please sign in to comment.