Re: Formatting a mail

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

 



I am still having problems with this can someone look at my input file
and show me how to convert this so it formats correctly.

I did try unix2dos but it make no difference.
This input script was generated from reading several websites and
importing the source code using lynx.

cat printrep | mail "Test" test@xxxxxxxx
or
cat printrep | unix2dos | mail "Test" test@xxxxxxxx
Does not work

On 12/10/2007, Luciano Rocha <strange@xxxxxxxxxxxxx> wrote:
> 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
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>

Attachment: printrep.tar.gz
Description: GNU Zip compressed data

-- 
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