Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 1995 13:55:13 -0400
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        Wolfram Schneider <wosch@cs.tu-berlin.de>
Cc:        Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>, FreeBSD-bugs@freebsd.org
Subject:   bin/683: cron(8)
Message-ID:  <9508141755.AA11596@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199508141725.TAA18350@caramba.cs.tu-berlin.de>
References:  <199508131617.SAA13412@localhost> <9508141442.AA11143@halloran-eldar.lcs.mit.edu> <199508141459.QAA11761@caramba.cs.tu-berlin.de> <9508141532.AA11236@halloran-eldar.lcs.mit.edu> <199508141557.RAA14439@caramba.cs.tu-berlin.de> <9508141644.AA11411@halloran-eldar.lcs.mit.edu> <199508141725.TAA18350@caramba.cs.tu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 14 Aug 1995 19:25:51 +0200, Wolfram Schneider <wosch@cs.tu-berlin.de> said:

>>>> You missed the point.  It is none of cron's business to be parsing
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> shell command lines, period.
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> 
>> You are still missing the point.

> You too. Cron(8) is for execute *commands*, not execute your favourite
> *shell command* lines. 

Nonsense.  You are trying to make a distinction WHICH DOES NOT EXIST
IN REALITY.

> Starting a shell is a feature. It is your own risk if
> SHELL=/usr/bin/perl not work (perl -c is for syntax checking).

Which is completely irrelevant to the question at hand.

Question for you:

	Why the h*** do you care that cron runs a shell?  What does
	the shell do that is so horrid that you want to break cron?
	What makes you think that every !@#$%^ utility in the system
	needs to parse command lines when there is one program (the
	Bourne shell) whose sole purpose is to do precisely that?

BTW, this is from crontab(5):

       The  ``sixth''  field (the rest of the line) specifies the
       command to be run.  The  entire  command  portion  of  the
       line,  up to a newline or % character, will be executed by
       /bin/sh or by the shell specified in the SHELL variable of
       the  cronfile.   Percent-signs  (%) in the command, unless
       escaped with backslash (\), will be changed  into  newline
       characters, and all data after the first % will be sent to
       the command as standard input.

-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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9508141755.AA11596>