tests-always-included / wick

Bash-only IT automation, machine provisioning
Other
69 stars 12 forks source link

Revert "IFS= appears to merge all elements" #114

Closed fidian closed 7 years ago

fidian commented 7 years ago

Reverts tests-always-included/wick#113

I don't think this was adequately tested. I've added these three lines to the end of the sample script.

set | grep ^unparsed=
set | grep ^unparsedClone=
set | grep ^unparsedClone2=

The results say the variables are all arrays.

unparsed=([0]="action" [1]="service")
unparsedClone=([0]="action" [1]="service")
unparsedClone2=([0]="action" [1]="service")

I don't quite get it, but this is certainly not a single string.

fidian commented 7 years ago

I'm closing. I think I would rather just fix this without the extra revert in the history.