From owner-freebsd-questions@FreeBSD.ORG Thu Oct 26 18:36:08 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10F9716A407 for ; Thu, 26 Oct 2006 18:36:08 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 632C643D45 for ; Thu, 26 Oct 2006 18:36:07 +0000 (GMT) (envelope-from david.robillard@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so396123uge for ; Thu, 26 Oct 2006 11:36:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CdaeU6NiEo8DKF0WbQ9pXB5YKRgST0chyAsmf75kQvpHjVnwX+9M8XrZ3+8TaYS6pEPtsTDxXA669tlUMJ7xVsKBAO0Kq2B0SFo/sO6e3hE/tFYjRfUOq2eGptHLOKyAH+e5uw9Hu8Oh4F+vXQy0qD0rQIDx2eEcLcD90gWL+0c= Received: by 10.67.93.7 with SMTP id v7mr3366127ugl; Thu, 26 Oct 2006 11:36:06 -0700 (PDT) Received: by 10.67.105.15 with HTTP; Thu, 26 Oct 2006 11:36:06 -0700 (PDT) Message-ID: <226ae0c60610261136o56d5d2cam3f11472be7d80601@mail.gmail.com> Date: Thu, 26 Oct 2006 14:36:06 -0400 From: "David Robillard" To: "Garrett Cooper" In-Reply-To: <226ae0c60610250940h43c1bea8o77326728f15ed058@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <226ae0c60610250940h43c1bea8o77326728f15ed058@mail.gmail.com> Cc: FreeBSD Questions Mailing List Subject: Re: Bug with tcsh? : if evaluating true instead of false 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: Thu, 26 Oct 2006 18:36:08 -0000 > I appreciate the help thanks! Sure, I'll send the script to you in an individual email instead of as an attachement to the list. Should anyone on the list want a copy, just drop me an email. > I'd appreciate the script though, definitely, as any resource I have to learn all Unix script languages properly will only help in my becoming a better Unix admin as well as script more common tasks to help make my life a bit easier. When I've started to write shell scripts, I read a nice book which covered sh, csh and ksh with lots of examples. That was the first edition, but it's now in it's fourth edition and now have coverage of bash and tcsh plus you get info on sed & awk. "UNIX Shells By Example", Ellie Quigley, Prentice Hall PTR; 4th edition (Sep 24 2004), 1200 pages, ISBN: 013147572 On amazon.ca: http://www.amazon.ca/UNIX-Shells-Example-Ellie-Quigley/dp/013147572X/sr=1-1/qid=1161886975/ref=sr_1_1/701-2925611-9451566?ie=UTF8&s=books Otherwise, you can always Google around for "unix shell script" and such. There are a lot of sites on the topic. I would select one from a University. Have fun! David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122