Format text in mail attachments

view story

http://www.unix.com – Hi Gurus, I am working on a script that sends a text file attachment on mail from unix server to my widows outlook mail box. When i see the text file in UNIX it is perfectly formatted but when i open the same file in the mail, it looks weird as the next line is added to the same line. For example, in unix the file looks like, Code: ABC#DEF GHI#JKL MNO#PQR But the mail attachment looks like Code: ABC#DEFGHI#JKLMNO#PQR The command i used to send mail from UNIX is Code: (printf "%s\n%s\n" "`cat bodyofmail.txt`";unix2dos mytext.txt | uuencode mytext.txt myt (HowTos)