On 2003.02.05 16:22 Felix Karpfen wrote: > Is there a <search-and replace routine|vim plugin> that will convert a > formatted text file from the Unix to the DOS format? I have a hazy > recollection that one uses NL and the other uses NL/CR. perl -pe's!\r\n!\n!' -i.bak dos_formatted_file.txt