Larry Hall (Cygwin) wrote: > On 10/03/2006, DePriest, Jason R. wrote: > > <snip> > >> vi did not show any unusual line endings (CR/LF) in /etc/profile >> before I sent my message in > > vi/vim will only show you the CR/LF if you tell it to. So if you're > not looking for them, vi/vim may have hidden them from you. You may > want to try 'od -c' on the file(s) in question.
Even if it does not show you the CR at the end of the line, vim will tell you if it thinks that it's opening a DOS file, but you have to look at the status line at the bottom before doing anything. Here's an example: "evim.bat" [dos] 47L, 977C -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/