🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #1006

Message "foo: is a directory" with "foo" execuatable on path and "foo" subdir

#1006
From: Rob Pettengill
Date: Mon, 12 Jun 1989 16:14
20 lines
970 bytes
Running SunOS 3.5 and bash 0.99 ...

I first found this problem with "mail" (I have a directory called
"mail").  It appears that for any command called "foo" on my path, if
I have a subdirectory called "foo", then I get the message "foo": is a
directory. 

Example:

perseus:/usr/stp/rcp 47=> which xsrbm
/usr/stp/rcp/bin/xsrbm
perseus:/usr/stp/rcp 48=> mkdir xsrbm
perseus:/usr/stp/rcp 49=> xsrbm
xsrbm: is a directory
perseus:/usr/stp/rcp 50=> rmdir xsrbm
perseus:/usr/stp/rcp 51=> xsrbm
if: Missing file name.
perseus:/usr/stp/rcp 52=>

;rob
Technical Details
Message-ID: <2459@perseus.sw.mcc.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!milano!perseus!rcp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!milano!perseus!rcp
From: rcp@perseus.sw.mcc.com (Rob Pettengill)
Newsgroups: gnu.bash.bug
Subject: Message "foo: is a directory" with "foo" execuatable on path and "foo" subdir
Message-ID: <2459@perseus.sw.mcc.com>
Date: 12 Jun 89 16:14:01 GMT
Organization: MCC Software Technology Program
Lines: 20