Use VIM to edit DOS and/or Unix ASCII Files

a href="http://www.woodsmall.com/CARD.htm">David Woodsmall

6/13/2010 - Optimized for Firefox 3.6.3

============================================================== VIM - DOS or LINUX / UNIX / MAC Text file editing (vi is usually reall vim) ============================================================== This option is available in SuSE SLES 10, but NOT in RH AS 4. Read a text file in any format (DOS, Unix/Linux).. shows as ^M Vim accepts a single or a pair for end-of-line (). When writing a file, Vim uses . MAN page claims that if you edit a file and write it, Vim replaces with - I DID NOT SEE IT THIS WAY WHEN EDITING A DOS FILE. To replace with use the following Vim command: (ESC then enter the command) :se ff=dos To replace with use the following VIM command: (ESC then the command) :se ff=unix See also: FLIP - Converting ASCII Files to/from Linux / Unix / DOS