Path: 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 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