Xref: utzoo comp.bugs.4bsd:1328 comp.unix.wizards:17204 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.bugs.4bsd,comp.unix.wizards Subject: Re: csh problem involving nested ifs? Keywords: csh, bug, nested if Message-ID: <2974@helios.ee.lbl.gov> Date: 10 Jul 89 18:34:52 GMT References: <685@wuphys.UUCP> Sender: usenet@helios.ee.lbl.gov Lines: 19 In article <685@wuphys.UUCP>, marty@wuphys.UUCP (Marty Olevitch) writes: < < It appears that csh does not correctly handle nested if-then-else < statements. The following script illustrates the problem, which appears < in versions of csh on MORE/bsd (mt Xinu 4.3), SunOS 3.1, SunOS 4.0, and < Ultrix 2.0. Am I missing some bug in this script? If not, it looks like < a bug in csh (an equivalent sh program works fine). < [ csh script follows ] Well, on our Vaxstation II running Ultrix 2.0 machine and out Vaxstation 2000's and II's running Ultrix 3.0, the script worked just as it should (the "expected" results). _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory We don't need no signatures!