From owner-freebsd-hackers Sun Mar 19 10:53:36 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA15738 for hackers-outgoing; Sun, 19 Mar 1995 10:53:36 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id KAA15726 for ; Sun, 19 Mar 1995 10:53:31 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA06272; Sun, 19 Mar 1995 19:53:22 +0100 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id TAA18190 for freebsd-hackers@freebsd.org; Sun, 19 Mar 1995 19:52:41 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id TAA14270 for freebsd-hackers@freebsd.org; Sun, 19 Mar 1995 19:36:49 +0100 From: J Wunsch Message-Id: <199503191836.TAA14270@uriah.heep.sax.de> Subject: Re: cvs commit: src/gnu/usr.bin/man/catman catman.perl To: freebsd-hackers@FreeBSD.org (FreeBSD hackers) Date: Sun, 19 Mar 1995 19:36:49 +0100 (MET) In-Reply-To: <13528.795631643@freefall.cdrom.com> from "Jordan K. Hubbard" at Mar 19, 95 08:47:23 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1259 Sender: hackers-owner@FreeBSD.org Precedence: bulk As Jordan K. Hubbard wrote: > > I would like to see etc/{daily, weekly, monthly} do NOTHING in the future. > > Nada, nichts, bupkis, zilco! nic. (with a hachek above the `c' -- it's czech :) I'm not sure if i like your idea entirely. Coming from a system where everything and all has been done with different entries in root's crontab, i like the /etc/{dai,week,month}ly approach much more. I agree with you that the functionality itself might be moved outside the scripts, so it's easier to move it around (e.g. between daily and weekly). We should make it into another subdir of /etc (what about /etc/admin?), and all the {dai,week,month}ly scripts set their path to include this subdir at the beginning, so the scripts are callable commands. No, don't make them shell functions, separate commands have the advantage to leave the choice of the programming language to the implementor, and it's an open secret that Perl's the language of choice for many administrative problems. Our fork()/execve() overhead is (thanks to the revamped VM system) minimal enough to not even notice the additional processes. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)