amusing 4.1bsd csh bug: dirs
honey at princeton.UUCP
honey at princeton.UUCP
Fri Nov 18 00:45:13 AEST 1983
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
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list