From owner-freebsd-questions@FreeBSD.ORG Sun Jul 20 13:23:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31DDA106567A for ; Sun, 20 Jul 2008 13:23:28 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3848FC18 for ; Sun, 20 Jul 2008 13:23:26 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 45987 invoked by uid 89); 20 Jul 2008 13:23:24 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 20 Jul 2008 13:23:24 -0000 Mime-Version: 1.0 (Apple Message framework v752.3) References: <9B40E44D-C395-49E2-8BC6-1188DB8FD65E@identry.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit X-Marketcircle-Dmi-Agent: From: John Almberg Date: Sun, 20 Jul 2008 09:22:46 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.752.3) Subject: Fwd: how to simulate a user's crontab? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2008 13:23:28 -0000 > I use templates for most of the things I write, so I don't end > up making > the same stupid off-by-one mistakes for things like handling > command-line > arguments. My template for a production shell script is below. > You raise a lot of interesting ideas Karl. I too am always looking to 'systematize' work, not only because I need efficiency, but because I hate having to learn things twice... Nothing bugs me more than knowing that I need to figure out how to do something I figured out 6 months or a year ago. Actually, I highly recommend a Mac program called Yojimbo, that is a kind of general purpose memory tool. You can throw all sorts of information into it, and find it very easily when you need it. Fantastic program and I don't know of anything like it on other platforms. Anyway, I'm definitely going to throw your entire email, particularly the template, into Yojimbo as saved knowledge. I am working on an important script right now, and I'm going to put your template to immediate use. I'll also take a look at the korn shell. I've used bash for many years, but I'm not in love with it. I'm certainly open to a better shell. Great post. Thanks! -- John