When I type the following command in a cygwin bash shell:
for i in $(ls) do echo $i done
I get a \">\" asking me to keep typing, as opposed
You need to separate your for, do and done statements.. Try this:
for i in $(ls); do echo $i; done
You can also separate the statements with newlines. For exmaple:
cygwin$ for i in $(ls) > do > echo $i > done