From owner-freebsd-questions Tue Sep 17 1:18:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7352A37B401 for ; Tue, 17 Sep 2002 01:18:41 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 1B05943E3B for ; Tue, 17 Sep 2002 01:18:40 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 3991 invoked from network); 17 Sep 2002 08:18:31 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 17 Sep 2002 08:18:31 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id C7EA72FDAB2; Tue, 17 Sep 2002 10:17:10 +0200 (CEST) Date: Tue, 17 Sep 2002 10:17:10 +0200 From: Roman Neuhauser To: freebsd-questions Subject: periodic diff format Message-ID: <20020917081710.GC307@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, various /etc/periodic scripts mail root diffs of a few config files etc. grep on my (quite fresh) STABLE box shows that except for /etc/periodic/daily/210.backup-aliases, all the diff invocations use the old format. I have two issues with this: first, all the diffs should be in the same format, and second, root should be able to select their preferred format in /etc/periodic.conf (yes, i have difficulty reading anything but unified diffs). Now, before I start working on a patch, would such a change be actually welcome, or am I going to get shot down? And, what would the preferred interface be? Most of periodic.conf knobs are bools, but I'm not sure diff_{context,traditional,unified}_format="{YES,NO}" is better than diff_format="{context,traditional,unified}" What do you think? -- begin 666 nonexistent.vbs FreeBSD 4.6-STABLE 9:57AM up 12:47, 8 users, load averages: 0.10, 0.08, 0.03 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message