🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Brian Fox Mon, 12 Jun 1989 18:41
Message "foo: is a directory" with "foo" execuatable on path and "foo" subdir
#1008
Author: Brian Fox
Date: Mon, 12 Jun 1989 18:41
32 lines
1435 bytes
   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. 

   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

This is a bug from versions earlier than .95.  Are you sure you are
using .99?  I cannot recreate this bug.

Brian Fox
Re: Message "foo: is a directory" with "foo" execuatable on path and "foo" subdir
#1013
Author: Rob Pettengill
Date: Mon, 12 Jun 1989 21:38
40 lines
1796 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads