I have created a flat file from a grep | awk statement that I am passing to a mailx statement but when the email shows up it is not displaying the new line chars. I can pass the mailx statement most other files and they show up fine. i.e. /etc/hosts. When I view the file (using vi or cat) it looks okay, just shows up wrong in the email.
mailx -s "Audit" user@domain.net < $mail_file
everything is on the same line.
If anyone has any ideas I would appreciate it. thanks
mailx -s "Audit" user@domain.net < $mail_file
everything is on the same line.
If anyone has any ideas I would appreciate it. thanks