>>>>> "Paul" == Paul E Condon <[EMAIL PROTECTED]> writes:

Paul> What is a simple way to insert a carriage return character just
Paul> before each line feed (new line) character in a text file?

You mean converting a UNIX text file to a DOS text file?  Install the
sysutils package.  It includes a utility called "fromdos" (alternately
"unix2dos") which does this.  Just do "fromdos <filename>".

Alternately, you could look at the recode package, which does a lot of
different conversions, but isn't quite as simple to use if you just want
to do UNIX -> DOS conversion.

-- 
Hubert Chan <[EMAIL PROTECTED]> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

Attachment: pgplKWM3qYuLS.pgp
Description: PGP signature

Reply via email to