From owner-freebsd-hackers Mon Jun 11 23:45: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by hub.freebsd.org (Postfix) with ESMTP id E9BC437B408 for ; Mon, 11 Jun 2001 23:44:51 -0700 (PDT) (envelope-from m.seaman@plasm.demon.co.uk) Received: from plasm.demon.co.uk ([194.222.58.229]) by anchor-post-34.mail.demon.net with esmtp (Exim 2.12 #1) id 159hv2-000D1R-0Y; Tue, 12 Jun 2001 07:44:53 +0100 Received: (from matthew@localhost) by plasm.demon.co.uk (8.11.3/8.11.3) id f5C6iW127754; Tue, 12 Jun 2001 07:44:32 +0100 (BST) (envelope-from matthew) Date: Tue, 12 Jun 2001 07:44:08 +0100 From: Matthew Seaman To: Cyrille Lefevre Cc: Matthew Seaman , freebsd-hackers@freebsd.org Subject: Re: Perl module for periodic scripts Message-ID: <20010612074408.A27697@plasm.demon.co.uk> References: <20010611102830.A26191@plasm.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from clefevre-lists@noos.fr on Tue, Jun 12, 2001 at 02:57:46AM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 12, 2001 at 02:57:46AM +0200, Cyrille Lefevre wrote: > To: Matthew Seaman > Cc: freebsd-hackers@freebsd.org > Subject: Re: Perl module for periodic scripts > Reply-To: Cyrille Lefevre > Mail-Copies-To: never > From: Cyrille Lefevre > Date: 12 Jun 2001 02:57:46 +0200 > User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) > > Matthew Seaman writes: > > [snip] > > by which time the script might just as well be pure perl anyhow... > > and the perl polution continue... > > while some people claims perl should goes off whenever possible, > you're claiming it should goes on. No. I'm not out to re-write the world in Perl. If you like sh/sed/awk, then great, write code in sh/sed/awk. Me, I prefer perl, but it's not a religious thing. > FYI, the date stuff can be written in pure shell. don't know yet > about the uniq -i but should be possible w/o perl. I don't doubt that it's possible, but for me, it's a lot easier to do it in Perl. > see the following url on a portable (awk and ksh) replacement for > date -v-1d : > > http://groups.google.com/groups?as_q=date2julian&as_ugroup=fr.comp.os.unix&as_uauthors=cyrille%20lefevre Impressively complicated stuff. Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message