Any idea of what the problem could be?
My code is:
#!/bin/bash while : do echo \"Press [CTRL+C] to stop..\" sleep 1 done
Saved it a
I was getting the same error on Cygwin; I did the following (one of them fixed it):
TABS
SPACES
dos2unix
.(ba)sh