Re: Formatting a mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 12, 2007 at 11:33:34AM +0100, Paul Ward wrote:
> Hi all,
> 
> Please can someone show me the easy way of fixing this format problem,
> I am sure it must be a simple command.
> 
> I am mailing myself a file from postfix.
> the file is created by doing a cat of around 10 files into my tmpfile
> when viewed by less it looks like this
> Number of pages printed for RIAS-INS-HH04 today is 24
> Number of pages printed for RIAS-INS-HH05 today is 7
> Number of pages printed for RIAS-INS-HH06 today is 0
> Number of pages printed for RIAS-INS-HH07 today is 0
> Number of pages printed for RIAS-INS-HH09 today is 0
> Number of pages printed for RIAS-INS-HH10 today is 0
> Number of pages printed for RIAS-INS-HH11 today is 0
> Number of pages printed for RIAS-INS-HH12 today is 0
> Number of pages printed for RIAS-INS-HH13 today is 0
> Number of pages printed for RIAS-INS-HH14 today is 0
> Number of pages printed for RIAS-INS-PRT02 today is 12
> Number of pages printed for RIAS-INS-PRT03 today is 17
> 
> However when I mail myself it mail -s "TEST" pnward@xxxxxxxxxxxxxx <
> /tmp/tmpfile

Add \r to \n:
unix2dos < /tmp/tmpfile | mail -s "TEST" pnward@xxxxxxxxxxxxxx

-- 
lfr
0/0

Attachment: pgpi64gITgOq1.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux