Formatting a mail

Paul Ward pnward at googlemail.com
Fri Oct 12 16:01:55 UTC 2007


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 at test.com
or
cat printrep | unix2dos | mail "Test" test at test.com
Does not work

On 12/10/2007, Luciano Rocha <strange at nsk.no-ip.org> 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 at googlemail.com <
> > /tmp/tmpfile
>
> Add \r to \n:
> unix2dos < /tmp/tmpfile | mail -s "TEST" pnward at googlemail.com
>
> --
> lfr
> 0/0
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printrep.tar.gz
Type: application/x-gzip
Size: 340 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071012/dc8eb7b9/attachment-0001.bin>


More information about the fedora-list mailing list