Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2002 15:23:54 -0800 (PST)
From:      wolfram schneider <wosch@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/35719: which(1) ignore empty components of $PATH.
Message-ID:  <200203092323.g29NNsl91233@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         35719
>Category:       bin
>Synopsis:       which(1) ignore empty components of $PATH.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 09 15:30:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     wolfram schneider
>Release:        
>Organization:
>Environment:
>Description:
      The new c version of which(1) command 
ignore empty components of $PATH.

$ cd /bin
$ env PATH=: which date
$ echo $?
1


It should print:
./date
>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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