A formatting query

Jepri jepri at webone.com.au
Thu Feb 6 09:11:06 EST 2003


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


More information about the linux mailing list