Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site princeton.UUCP Path: utzoo!linus!philabs!seismo!harpo!floyd!vax135!ariel!hou5f!hou5g!hou5h!hou5a!hou5d!hogpc!houxm!mhuxl!ulysses!princeton!honey From: honey@princeton.UUCP Newsgroups: net.bugs.4bsd Subject: amusing 4.1bsd csh bug: dirs Message-ID: <142@princeton.UUCP> Date: Thu, 17-Nov-83 09:45:13 EST Article-I.D.: princeto.142 Posted: Thu Nov 17 09:45:13 1983 Date-Received: Sat, 19-Nov-83 01:00:01 EST Organization: Princeton Univ. EECS Lines: 17 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