EOF error running Stacking automatically generated cross-profiles gmt6.0 and WINDOWS

I’m running the gallery tutorial 33 (stack profile) in GMT 6.0.0 version and bash 4.4.20, in Windows but it appears the following error:
line 31: warning: here-document at line 14 delimited by end-of-file (wanted `EOF’)
and I was trying to correct using TAB according to the bash language but it doesn´t change.
I would appreciate if anyone could help me.


Perhaps you have a space after the EOF line that should just be by itself.
Separately, get 6.4.0 while at it.