* Line Feed's in Syslog
@ 1998-01-15 5:00 sw
1998-01-15 5:00 ` test
0 siblings, 1 reply; 2+ messages in thread
From: sw @ 1998-01-15 5:00 UTC (permalink / raw)
Hi all,
i'm trying to tell cron that it send's me the daily syslog of our firewall
by e-mail.
with the command
mailx sw@domain < /usr/var/adm/firewall.log
i receive that mail.
that works.
but in the e-mail there are no "line feeds" after each line.
the whole log-file appears a one line so it is really
unreadable.
is there a way to convert that log-file so that are line-breaks
after each line ?
thanx in advance
sascha
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Line Feed's in Syslog
1998-01-15 5:00 Line Feed's in Syslog sw
@ 1998-01-15 5:00 ` test
0 siblings, 0 replies; 2+ messages in thread
From: test @ 1998-01-15 5:00 UTC (permalink / raw)
To: sw
sw@pelikan.de wrote:
>
> Hi all,
>
> i'm trying to tell cron that it send's me the daily syslog of our firewall
> by e-mail.
> with the command
> mailx sw@domain < /usr/var/adm/firewall.log
> i receive that mail.
> that works.
>
> but in the e-mail there are no "line feeds" after each line.
> the whole log-file appears a one line so it is really
> unreadable.
>
> is there a way to convert that log-file so that are line-breaks
> after each line ?
>
> thanx in advance
> sascha
Try running it through fold before redirecting it to mail:
fold /usr/var/adm/firewall.log > /usr/var/adm/fold.firewall.log
mailx sw@domain < /usr/var/adm/fold.firewall.log
--
Mark Greene My real address: mailto:greenemj@hlthsrc.com
The above opinions are mine, not my employer's.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-01-15 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-15 5:00 Line Feed's in Syslog sw
1998-01-15 5:00 ` test
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox