From: Pierre DOT Humblet AT eurecom DOT fr (Pierre A. Humblet) Subject: Re: cygwin b20 bash path usage? 12 Nov 1998 09:40:25 -0800 Message-ID: <3.0.5.32.19981111230600.00887910.cygnus.gnu-win32@pop.ne.mediaone.net> References: <19981111032100 DOT 10942 DOT rocketmail AT send105 DOT yahoomail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: earnie_boyd AT yahoo DOT com, William D Kirby , gnu-win32 AT cygnus DOT com At 07:21 PM 11/10/98 -0800, Earnie Boyd wrote: > >No. The current working directory is only searched if you contain a . >(period character) in the PATH variable list. If you want it to be >searched first then you'll need to place it first in the PATH; but, >this isn't good security practices. > That's not my experience with bash and ash They find commands in the current directory as long as PATH has an empty component (or contains .) . ~: cat findit #!/bin/sh echo You found me ~: PATH=/bin ~: findit BASH.EXE: findit: command not found ~: PATH= ~: findit You found me ~: PATH=/bin: ~: findit You found me ~: Pierre - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".