Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!mimsy!umd5!brl-adm!brl-smoke!gwyn
From: gwyn@brl-smoke.ARPA (Doug Gwyn )
Newsgroups: comp.unix.questions
Subject: Re: $PATH glitch? -- Gould Powernode
Message-ID: <6175@brl-smoke.ARPA>
Date: Sat, 25-Jul-87 05:36:52 EDT
Article-I.D.: brl-smok.6175
Posted: Sat Jul 25 05:36:52 1987
Date-Received: Sat, 25-Jul-87 22:06:53 EDT
References: <155@dsacng1.UUCP>
Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) )
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 8
Keywords: PATH shell environment

In article <155@dsacng1.UUCP> naa1810@dsacng1.UUCP (Bill Bereza) writes:
>I further experimented and found out that I could not execute a
>new shell script that I created in my bin directory from any directory
>path except when my cwd was my bin directory.

Sounds like you corrupted your $PATH.  The reason it worked
when your cwd was your bin directory is that then the "." or
"" in your $PATH found the command.