converting text file from linux to ms dos
I was trying to create a text file on my floppy which would
be readable (i.e. have the appropriate line breaks) by Windows
Notepad.
I mounted my floppy as vfat and created a small text file
with vi, which I saved back onto the floppy. Then, when I
examined the file with cat -A I saw that each line was still
being terminated with a '\n' instead of the hoped-for '\r\n'
sequence.
I know there are tools for making such conversions, but I
was under the impression that if something was mounted
as vfat, the conversion would take place automatically.
Was I under the wrong impression, or is there something
wrong here?
Thank you.
|