From owner-freebsd-bugs Mon Aug 14 08:34:06 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id IAA21532 for bugs-outgoing; Mon, 14 Aug 1995 08:34:06 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id IAA21526 for ; Mon, 14 Aug 1995 08:34:02 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.3.6) id AA11236; Mon, 14 Aug 1995 11:32:34 -0400 Date: Mon, 14 Aug 1995 11:32:34 -0400 From: Garrett Wollman Message-Id: <9508141532.AA11236@halloran-eldar.lcs.mit.edu> To: Wolfram Schneider Cc: Garrett Wollman , FreeBSD-bugs@freebsd.org Subject: bin/683: cron(8) In-Reply-To: <199508141459.QAA11761@caramba.cs.tu-berlin.de> References: <199508131617.SAA13412@localhost> <9508141442.AA11143@halloran-eldar.lcs.mit.edu> <199508141459.QAA11761@caramba.cs.tu-berlin.de> Sender: bugs-owner@freebsd.org Precedence: bulk < said: >> This is simply wrong. Programs such as `cron' have no business >> attempting to parse the command line given to them; that's the job of >> the shell, AND THE SHELL ONLY. > I need no shell for starting '/usr/libexec/atrun'. You missed the point. It is none of cron's business to be parsing shell command lines, period. What should cron do with this: ------------------------------------ SHELL=/usr/site/bin/bash 30 4 1 * * help ------------------------------------ Or how about this: ------------------------------------ SHELL=/usr/local/bin/foosh 15 0 * * */2 grimblepritz garply foobiebletch ------------------------------------ (where in the `foosh' language, `garply' means the same as `>' in Bourne shell) You are putting knowledge into utility programs which have no business applying them; this is simply the Wrong Thing. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant