From owner-freebsd-stable Tue Mar 12 1:32: 9 2002 Delivered-To: freebsd-stable@freebsd.org Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 359D237B41D for ; Tue, 12 Mar 2002 01:32:05 -0800 (PST) Received: from pc4-card4-0-cust162.cdf.cable.ntl.com ([80.4.14.162] helo=rhadamanth.private.submonkey.net ident=mailnull) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 16kidX-00064T-00 for freebsd-stable@freebsd.org; Tue, 12 Mar 2002 09:32:03 +0000 Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.35 #1) id 16kicT-0000z1-00; Tue, 12 Mar 2002 09:30:57 +0000 Date: Tue, 12 Mar 2002 09:30:57 +0000 From: Ceri To: Randy Bush Cc: Kevin Oberman , FreeBSD Stable Subject: Re: parameterize named log Message-ID: <20020312093057.GA3499@submonkey.net> Mail-Followup-To: Ceri , Randy Bush , Kevin Oberman , FreeBSD Stable References: <20020311172055.2F0665D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-message-flag: If you can read this, get a better mail client Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 11, 2002 at 01:54:06PM -0800, Randy Bush wrote: > catmsgs() { > ! find /var/log -name '$daily_status_named_log.*' -mtime -2 | > sort -t. -r -n +1 -2 | > xargs zcat -f > ! [ -f /var/log/$daily_status_named_log ] && cat /var/log/$daily_status_named_log > + daily_status_named_log="messages" If you're making changes so that I can move my log, please don't assume I want it in /var/log Thanks, Ceri -- keep a mild groove on To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message