Re: DOS scripts under Unix.
- Krzysztof Wrzalik <kwrzalik@...> wrote:
> Hi!If you mean ^M (or \r) then the following should "repair" it:
> Recently, I've downloaded several scripts from vim.org written by
> folks who were apparently using DOS/Windows. Those scripts had those
> nasty ^Rs at the end of each line which made my Unix version choke.
> Of course, it is easy to remove them with some filter, but I wonder
> if this could be fixed by some VIM setup...
> Best Regards, Krzysztof
:edit ++ff=dos filename