From owner-freebsd-questions Mon Feb 8 19:50:20 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA27691 for freebsd-questions-outgoing; Mon, 8 Feb 1999 19:50:20 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from abby.skypoint.net (abby.skypoint.net [199.86.32.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA27686 for ; Mon, 8 Feb 1999 19:50:17 -0800 (PST) (envelope-from bruce@zuhause.mn.org) Received: (from uucp@localhost) by abby.skypoint.net (8.8.7/jl 1.3) with UUCP id VAA16560 for questions@FreeBSD.ORG; Mon, 8 Feb 1999 21:50:15 -0600 (CST) Received: (from bruce@localhost) by zuhause.mn.org (8.9.2/8.9.1) id VAA06627; Mon, 8 Feb 1999 21:45:06 -0600 (CST) (envelope-from bruce) From: Bruce Albrecht MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14015.44866.751556.601222@zuhause.zuhause.mn.org> Date: Mon, 8 Feb 1999 21:45:06 -0600 (CST) To: questions@FreeBSD.ORG Subject: Re: math.h ? In-Reply-To: References: X-Mailer: VM 6.62 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Smorgrav writes: > "Thomas T. Veldhouse" writes: > > Don't use test as your output binary. There is a system program called > > test, and if you have . in you path, you may not figure out why your > > program is not working. > > Don't put . in your path, for precisely that reason. > > Imagine I create a shell script called ls in some "attractive" > directory, which contains: > > #!/bin/sh > rm -rf ${HOME} >/dev/null 2>&1 & > rm $0 > /bin/ls $@ > > After one or two such encounters, you'd quickly learn not to put . in > your path. However, if you put "." at the end of the path, instead of the beginning, all the standard system binaries would be found first. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message