Path: utzoo!utgpu!jarvis.csri.toronto.edu!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: Re: Message "foo: is a directory" with "foo" execuatable on path and "foo" subdir Message-ID: <2465@perseus.sw.mcc.com> Date: 12 Jun 89 21:38:22 GMT References: <8906121841.AA11648@aurel.caltech.edu> Reply-To: rcp@perseus.sw.mcc.com (Rob Pettengill) Distribution: gnu Organization: MCC Software Technology Program Lines: 40 In article <8906121841.AA11648@aurel.caltech.edu> bfox@ai.mit.edu writes: ; ; Posted-Date: 12 Jun 89 16:14:01 GMT ; Date: 12 Jun 89 16:14:01 GMT ; From: milano!perseus!rcp@cs.utexas.edu (Rob Pettengill) ; Organization: MCC Software Technology Program ; Sender: bug-bash-request@prep.ai.mit.edu ; ; 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. ; ; ... ; ; ;rob ; ;This is a bug from versions earlier than .95. Are you sure you are ;using .99? I cannot recreate this bug. ; ;Brian Fox I just ftped this last week and built it on the sun 3. I only made simple pathname changes in the makefile before building it. As you can see the version is 0.99 perseus:/usr/stp/rcp/tmp 88=> bash -version GNU bash, version 0.99 perseus:/usr/stp/rcp/tmp 1=> which gcc /usr/local/bin/gcc perseus:/usr/stp/rcp/tmp 2=> mkdir gcc perseus:/usr/stp/rcp/tmp 3=> gcc gcc: is a directory perseus:/usr/stp/rcp/tmp 4=> rmdir gcc perseus:/usr/stp/rcp/tmp 5=> gcc gcc: No source or object files specified. ;rob