Xref: utzoo comp.unix.xenix:2554 comp.unix.questions:7811
Path: utzoo!attcan!uunet!mcvax!ukc!warwick!maujd
From: maujd@warwick.UUCP (Geoff Rimmer)
Newsgroups: comp.unix.xenix,comp.unix.questions
Subject: Re: "cd path" strangeness
Keywords: csh cd xenix sysv
Message-ID: <720@ubu.warwick.UUCP>
Date: 26 Jun 88 22:31:54 GMT
References: <337@vector.UUCP> <922@.UUCP>
Sender: news@warwick.UUCP
Reply-To: maujd@opal.UUCP (Geoff Rimmer)
Organization: Computer Science, Warwick University, UK
Lines: 42

In article <922@.UUCP> jbush@ficc.UUCP (james bush) writes:
>In article <337@vector.UUCP>, chip@vector.UUCP (Chip Rosenthal) writes:
>> Here is a wierd one.  In csh, move to some directory which doesn't have
>> a "path" subdirectory.  Then type either "cd path" or "chdir path".
>> 
>> The expected response would be "path: No such file or directory."  Instead,
>> no message is issued, and either you stay where you were or you move to
>> $path[1]...
>
>This is even more wierd. I tried it on our Intel Xenix system, and it worked
>as you said when I did it under my login.  However, when I tried to show it 
>to my friend under his id, it came up with the "expected" error message! I
>am not sure what the difference is.

Perhaps he uses Bourne shell?  

extravagent_prompt % sh
$ cd path
path: bad directory
$

No flames please - term finishes in under a week - so I won't be here
to read them 8-)

Geoff.

>James Bush, Ferranti, Houston                         Praise the Lord
>Internal address: jbush  extension 5230, mail stop A/3204, room A/3602
>External address: ..!uunet!nuchat!sugar!ficc!jbush

	-----------------------------------------------------------------
	Geoff Rimmer, Computer Science, Warwick University, UK.
			maujd@uk.ac.warwick.opal

	"I do SMILE humour - people aren't SUPPOSED to laugh."
	"Yeah, but they aren't supposed to throw heavy objects 
	 and shout 'Get off you boring bastard, we've heard better
	            jokes on the speaking clock!'"

		- Filthy Rich and Catflap (BBC TV)
	(Get your local TV station to buy this excellent comedy series!!)
	-----------------------------------------------------------------