This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: updated bash to latest 3.1.17(8)-release; startup has errors now


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]