Date: Sun, 8 Feb 1998 00:24:01 +0100 From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: dima@best.net Cc: Wolfram Schneider <wosch@cs.tu-berlin.de>, wosch@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG, bostic@bostic.com Subject: Re: cvs commit: src/etc/periodic/daily 460.status-mail-rejects Message-ID: <19980208002401.01571@panke.de> In-Reply-To: <199802051757.JAA12511@burka.rdy.com>; from Dima Ruban on Thu, Feb 05, 1998 at 09:57:03AM -0800 References: <19980205172342.07665@caramba.cs.tu-berlin.de> <199802051757.JAA12511@burka.rdy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1998-02-05 09:57:03 -0800, Dima Ruban wrote:
> Could you pelase describe the problem or is there a bug report?
time sed -n -e "s/^$start.*ruleset=check_mail, arg1=<.*@\\([^>]*\\)>.*reject=.*/\\1/p" <<EOF
Jan 31 20:00:14 hub sendmail[6960]: UAA06960: ruleset=check_mail, arg1=<root@stargazer.wisper.net>, relay=[193.164.160.170], reject=451 <root@stargazer.wisper.net>... Domain does not resolve
Jan 31 20:00:23 hub sendmail[6976]: UAA06976: ruleset=check_mail, arg1=<rickl@lurch.rickl.org>, relay=qmailr@srv1b.ic.net [152.160.72.20], reject=451 <rickl@lurch.rickl.org>... Domain does not resolve
EOF
stargazer.wisper.net
lurch.rickl.org
8.51 real 7.46 user 0.05 sys
4 seconds per line is terrible slow.
Wolfram
> Thank you.
>
> Wolfram Schneider writes:
> > On 1998-02-05 07:58:18 -0800, Dima Ruban wrote:
> > > > Modified files:
> > > > etc/periodic/daily 460.status-mail-rejects
> > > > Log:
> > > > Replace sed(1) with perl(1). The 4.4BSD sed programm is
> > > > 200 times slower than perl or SunOS 5.5.1 sed.
> > > Perhaps it should be fixed rather than replaced?
> >
> > Where is your patch? ;-)
> >
> > I'm very busy. If you found a solution, write a bug report.
> >
> > The bug occurs in a very special case. It does not
> > hurt for average sed usage.
> -- dima
--
Wolfram Schneider <wosch@freebsd.org> http://www.freebsd.org/~wosch/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980208002401.01571>
