"cd path" strangeness

Geoff Rimmer maujd at warwick.UUCP
Mon Jun 27 08:31:54 AEST 1988


In article <922 at .UUCP> jbush at ficc.UUCP (james bush) writes:
>In article <337 at vector.UUCP>, chip at 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 at 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!!)
	-----------------------------------------------------------------



More information about the Comp.unix.questions mailing list