for some reason vagrant is interpreting the newline character \n before execution even when a line is commented out.
here is the outputted when the debug section is uncommented for the provisioner that gets read into bash (with the already interpreted newline):

places where it is interpreting:

code examples:
|
# look at issue #1 for this repo |
|
# printf 'installing snap version of docker\n' |
|
# snap install docker |
|
# printf 'waiting for docker to start\n' |
for some reason vagrant is interpreting the newline character
\nbefore execution even when a line is commented out.here is the outputted when the debug section is uncommented for the provisioner that gets read into bash (with the already interpreted newline):
places where it is interpreting:

code examples:
bash_tricks/Vagrantfile
Lines 84 to 87 in 032ac29