Sebastian Rose wrote:
> if the value of $PATH ends in a colon (':'), skripts in the current directory
> are executed without requiring the './' path-prefix.

Thank you for your report.  However what you are seeing is not a bug.
It is required behavior.  An empty path is the same as saying '.'.
That is the way it is supposed to work.  Here is the documentation
from the manual.

  PATH   The search path for commands.  It is a colon-separated list of
         directories in which the shell looks for commands (see
         COMMAND EXECUTION below).  A zero-length (null) directory
         name in the value of PATH indicates the current directory.  A
         null directory name may appear as two adjacent colons, or as
         an initial or trailing colon.  The default path is
         system-dependent, and is set by the administrator who
         installs bash.  A common value is
         ``/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin''.

Bob


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to