From: test <test@test.com>
To: sw@pelikan.de
Subject: Re: Line Feed's in Syslog
Date: 1998/01/15 [thread overview]
Message-ID: <34BEA0B5.4B14@test.com> (raw)
In-Reply-To: 884884024.2030764040@dejanews.com
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.
prev parent reply other threads:[~1998-01-15 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-15 5:00 Line Feed's in Syslog sw
1998-01-15 5:00 ` test [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox