From owner-freebsd-questions@FreeBSD.ORG Mon Feb 16 09:32:45 2004 Return-Path: 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 A6D7316A4CE for ; Mon, 16 Feb 2004 09:32:45 -0800 (PST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A85143D1D for ; Mon, 16 Feb 2004 09:32:45 -0800 (PST) (envelope-from jan.muenther@nruns.com) Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Asmbq-0002y2-00; Mon, 16 Feb 2004 18:32:42 +0100 Received: from [212.202.43.203] (helo=ergo.nruns.com) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1Asmbq-0003gN-00; Mon, 16 Feb 2004 18:32:42 +0100 Received: by ergo.nruns.com (Postfix, from userid 1001) id A3F2E51A; Mon, 16 Feb 2004 18:27:52 +0100 (CET) Date: Mon, 16 Feb 2004 18:27:52 +0100 From: jan.muenther@nruns.com To: Jerry McAllister Message-ID: <20040216172752.GA2407@ergo.nruns.com> References: <9BC86C67C3AF7646B9C5382020457A940136C5@VIP10-WIN2K> <200402161708.i1GH8Qw19410@clunix.cl.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402161708.i1GH8Qw19410@clunix.cl.msu.edu> User-Agent: Mutt/1.4i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:9a8a46f2b40f7808f7699def63624ac2 cc: Eric Toll cc: freebsd-questions@freebsd.org Subject: Re: Scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 17:32:45 -0000 Firstly, the abuse of 'cat' as I suggested is quite wonky, indeed. I still sometimes do it like that though, for no reason other than typing quicker than I think at times. > Sounds like you don't have . in your path or haven't rehashed > since you created the file 'script.pl'. I just wanted to say quickly that I'd recommend *not* ever taking '.' into your path - when someone wants you to execute something and places it into a directory where both have write rights and names it like the binary you're supposed to call, it's going to get executed first.