Hi,

I think I have messed up one too many settings in my .vimrc :)
I have noticed lately very strange errors in bash scripts I wrote
under linux.
It took me some time to realize that bash refuses to run my scripts b/
c it sees all kinda dos thingies in there (mainly or maybe only
carriage returns at end of line).
Strangely the replacement %s/\r//g found 0 matches yet the errors
persisted.
Even stranger, after running dos2unix the errors went away.

I think this has to do with the format shown in the status line, I
have noticed that my old scripts and C sources show format=unix while
my new scripts that don't work show format=dos.
Last, I noticed that after I run dos2unix on a new script (one that
showed format=dos) that script now shows format=unix.

How can I get to help section re. this?
Are there any insights as to what is going on or what in .vimrc can
lead to that?
Last, how do I fix this so that new files I edit in Linux are set to
unix and not dos format?

TIA!
Yosi
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to