Cambiar el separador de línea UNIX a DOS

sed -i.bak 's/\r$//' file.txt
Fahim Foysal