It works in Bash on Cygwin and OS X.
touch "file with spaces" for f in *; do if [[ -f $f ]]; then echo file: $f; fi; done;