🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #31

Re: csh problem involving nested ifs?

#31
From: Brian V. Smith
Date: Mon, 10 Jul 1989 18:34
19 lines
1183 bytes
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!
Technical Details
Message-ID: <2974@helios.ee.lbl.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!helios.ee.lbl.gov!epb2.lbl.gov!envbvs
References: <685@wuphys.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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