From owner-freebsd-questions@FreeBSD.ORG Tue Feb 14 02:13:36 2012 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 3FBF4106564A for ; Tue, 14 Feb 2012 02:13:36 +0000 (UTC) (envelope-from vogelke@hcst.net) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 021088FC12 for ; Tue, 14 Feb 2012 02:13:35 +0000 (UTC) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q1E2DYgq022651 for ; Mon, 13 Feb 2012 21:13:34 -0500 Received: (from vogelke@localhost) by beta.hcst.com (8.14.3/8.14.3/Submit) id q1E2DYVK022650; Mon, 13 Feb 2012 21:13:34 -0500 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 669CDBFA3; Mon, 13 Feb 2012 20:57:12 -0500 (EST) To: freebsd-questions@freebsd.org In-reply-to: (message from Henry Olyer on Fri, 10 Feb 2012 10:34:20 -0500) Organization: Array Infotech X-Disclaimer: I don't speak for the USAF or Array Infotech. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 References: <1237723287.20120207235924@yandex.ru> <4F31A260.20109@infracaninophile.co.uk> <20120207231716.31aa8bc3@gumby.homeunix.com> <20120209032544.GA58560@ozzmosis.com> Message-Id: <20120214015712.669CDBFA3@kev.msw.wpafb.af.mil> Date: Mon, 13 Feb 2012 20:57:12 -0500 (EST) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: 'rm' Can not delete files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2012 02:13:36 -0000 >> On Fri, 10 Feb 2012 10:34:20 -0500, >> Henry Olyer said: H> I never learned a shell language. I suppose no one is as dumb as H> someone who choose's not to learn, so, what's the right one. csh? Not for scripting: http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ I work in an environment containing FreeBSD, Solaris, and Linux boxes. Using a subset of BASH that also runs under the Korn Shell helps avoid portability surprises if I want to get something running on a different box, or if I post a script to a mailing list. If you're already in the habit of writing BASH and you have /bin/ksh installed, running "ksh -n" will syntax-check your script without executing it. I *think* pdksh does the same thing. -- Karl Vogel I don't speak for the USAF or my company My choices in life were either to be a piano player in a whore-house or a politician. And to tell the truth, there's hardly any difference. --Harry Truman