On 5/19/2010 10:37 AM, Andrew DeFaria wrote: > On 05/19/2010 08:31 AM, Rockefeller, Harry wrote: >>> Again, have you tried dos2unix foo? >> Yes this didn't help. > That's funny because this is the usual cause. Are you sure there is no > extra carriage return line endings. I usually check by going into vim > and seeing if it says [DOS} at the bottom (there are other ways).
Running od -c on the file is a pretty quick and simple way to check. If you see \r in the output, you most likely have at least a few Windows line endings in the file. -Jeremy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple