Archive

Posts Tagged ‘vi’

dos2unix using vi or vim – How to remove ^M chars from a DOS file

March 31st, 2009 No comments

Often I need to translate source code from dos/windows format to UNIX format, MS-DOS and WINDOWS use a <carriage return>-<line feed> combination to represent end of line char while UNIX uses only a <line feed>.

Statistical data collected by Statpress SEOlution (blogcraft).