Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!sri-unix!lcc.bob@ucla-locus From: lcc.bob%ucla-locus@sri-unix.UUCP Newsgroups: net.unix Subject: Re: csh question Message-ID: <16931@sri-arpa.UUCP> Date: Fri, 24-Feb-84 16:08:46 EST Article-I.D.: sri-arpa.16931 Posted: Fri Feb 24 16:08:46 1984 Date-Received: Fri, 2-Mar-84 13:14:44 EST Lines: 12 From: Bob English"csh" messes up on nested "if" statements (at least in 4.1). It's really that simple. "if ... fi" is a bourne shell construction, and, while aesthetically more satisfying, meaningless to the poor C-shell. Furthermore, "csh" does its own expression testing; the program "test is not being called...not even through its "[" alias. I'm afraid you'll have to find a different way to do the test (or fix "csh"). --bob--