Hi All,
Ok a little strange wording of the tittle there
Basically the strange problem i have is that on the local server i have a file and if i 'cat /file' then i can view the file as expected and the sentences throughout the file so to speak are each on a newline as they should be. When doing something like:-
cat /file | mutt -s 'blah'
email@blah.com
and i receive the message in my inbox..the email has lost the newlines and the file is one long sentence all into one line with no line breaks. I don't know why that is and i want the email to show the output exactly how the 'cat' of the file shows the output when i'm on the server locally.
eg:-
on local system cat output would be:
abc
bdc
abc21
blah
foo bar
yey
same file 'cat' to an email and viewing the email would show:
abc bdc abc21 blah foo bar yey
Cheers all