Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!mcvax!unido!pcsbst!jkh From: jkh@pcsbst.UUCP (jkh) Newsgroups: gnu.bash.bug Subject: Bug in 1.02 bash CDPATH handling Message-ID: <936@pcsbst.UUCP> Date: 3 Aug 89 17:36:14 GMT Reply-To: jkh@meepmeep.pcs.com ( Jordan K. Hubbard ) Organization: PCS GmbH, Pfaelzer-Wald-Str. 36, 8000 Muenchen; West-Germany Lines: 19 Assuming that I've got a directory somewhere in my CDPATH called "foo" and a subdirectory under the current directory called "foo", isn't it logical to expect a "cd foo" to prefer the subdirectory? This is the way it works in our C-shell. It's kind of disconcerting to get suddenly boinked halfway across the filesystem when you were simply trying to enter a directory right in front of you. I thought CDPATH was only searched if the simple case failed? Jordan -- -------- Jordan Hubbard PCS Computer Systeme GmbH West Germany UUCP: {uunet,decwrl}!pyramid!pcsbst!jkh ARPA: jkh@violet.berkeley.edu Hey! Leave that alone!