Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!unmvax!ariel.unm.edu!triton.unm.edu!collier From: collier@triton.unm.edu (Michael Collier) Newsgroups: comp.sys.sequent Subject: cshell bug? Message-ID: <1990Oct22.211323.21097@ariel.unm.edu> Date: 22 Oct 90 21:13:23 GMT Sender: news@ariel.unm.edu (USENET News System) Distribution: usa Organization: University of New Mexico, Albuquerque NM Lines: 23 i execute the following piece of cshell under dynix 3.0.12: #! /bin/csh if(0) then if(1) then echo cant get here else echo bug endif endif i get the following output: bug the shell is matching the "else" with the first, outermost "if", not with the second, nested "if". can anyone tell me if this is fixed under 3.0.17? if not, why not? thanks. -- Michael H. Collier INET: collier@ariel.unm.edu BITNET: COLLIER@UNMB home: 1160 Don Pasqual NW; Los Lunas, NM 87031; (505) 865 8770 work: UNM CIRT; 2701 Campus Bvd; Albuquerque, NM 87131; (505) 277 8039