visto che in bash va....

deve essere un problema cygwin



http://cygwin.com/faq.html