[net.bugs.4bsd] amusing 4.1bsd csh bug: dirs

honey@princeton.UUCP (11/17/83)

as the following (annotated) script shows, the csh is too smart for its
own good.  (i haven't tried this under 4.1c or 4.2.)
	peter honeyman

Script started on Thu Nov 17 09:29:59 1983
% cd ~honey
% pwd
/va/honey			/* ~honey == /va/honey */
% mkdir /va/honeytilde
% cd /va/honeytilde		/* now for the fun part */
% pwd
/va/honeytilde			/* ok so far */
% dirs
~tilde 				/* but but ... */
% grep tilde /etc/passwd	/* ... there is no user "tilde"! */
% 
script done on Thu Nov 17 09:31:24 1983