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: pgpO0c4igPT6W.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux