Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!floyd!harpo!ihnp4!zehntel!hplabs!hao!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.unix-wizards Subject: Re: re: csh question - (nf) Message-ID: <5552@umcp-cs.UUCP> Date: Wed, 29-Feb-84 14:08:27 EST Article-I.D.: umcp-cs.5552 Posted: Wed Feb 29 14:08:27 1984 Date-Received: Sun, 4-Mar-84 04:28:45 EST References: <2640@fortune.UUCP> Organization: Univ. of Maryland, Computer Science Dept. Lines: 19 That problem: if(falsecond)then stuff if(cond)then otherstuff endif morestuff endif is caused by C-shell braindamage. Inside a false if, "if(thing)then" is not recognized as a multi-line if. Solution: either use "if (cond) then" with spaces around the ()s, or, use the Bourne shell. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris.umcp-cs@CSNet-Relay