On Sat, 17 Feb 2001, Juan Miguel Cacho wrote:

> Hello,
> 
> I have a text file edited using jmacs (plain text editor), but when I open
> this text file under win9x notepad (pls don't get mad at me ;-> ) the format
> is all screwed up. How do I convert this linux ascii text file to
> msdos/win9x ascii text?
> 

This is probably because Unix only uses ASCII 0x0a for its line
terminator, whereas DOS uses ASCII 0x0d and 0x0a to terminate lines.  You
can write a small perl or awk script to fix this.  It gets worse if you
have a Mac, because Macs use only ASCII 0x0d as the line terminator...

--
Rafael R. Sevilla <[EMAIL PROTECTED]>         +63 (2)   4342217
UP Diliman Mobile Robotics Laboratory           +63 (917) 4458925
OpenPGP Key ID: 0x0E8CE481

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to