Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ucla-cs!zen!cory.Berkeley.EDU!schung From: schung@cory.Berkeley.EDU.UUCP Newsgroups: comp.unix.questions Subject: Re: csh core dump (was: if-then-else in csh alias?) Message-ID: <3565@zen.berkeley.edu> Date: Wed, 2-Sep-87 18:06:32 EDT Article-I.D.: zen.3565 Posted: Wed Sep 2 18:06:32 1987 Date-Received: Fri, 4-Sep-87 03:26:19 EDT References: <16128@teknowledge-vaxc.ARPA> <1376@bloom-beacon.MIT.EDU> <2133@umn-cs.UUCP> <1454@epimass.EPI.COM> <183@intelisc.UUCP> Sender: news@zen.berkeley.edu Reply-To: schung@cory.Berkeley.EDU.UUCP (Stephen the Greatest) Organization: University of California, Berkeley Lines: 20 Keywords: csh core dump Csh bomber: mkdir x x/y set home = x/y cd x/y cd ../.. *** BOOM! *** core dumped I also tried it on a VAX 750, 8650 and 785 running 4.2, 4.3 BSD, and Ultrix. They *ALL* died. Well, UNIX is portable is that sense..... :-) I guess the thing is that, when you say cd ../.., $home cannot go that far, and the pointer runs off the head of the string 'x/y'. (First .., go to 'x' and next .., where? Oops!) I hope you guys keep posting interesting things like this..... (:-> - Stephen