Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!cis.ohio-state.edu!karl_kleinpaste From: karl_kleinpaste@cis.ohio-state.edu Newsgroups: comp.unix.shell Subject: Re: (t)csh if query Message-ID: Date: 4 Sep 90 20:40:23 GMT References: <34710@eerie.acsu.Buffalo.EDU> Sender: news@tut.cis.ohio-state.edu Organization: Ohio State Computer Science Lines: 9 cloos@acsu.buffalo.edu writes: What I tried is: if ( ($HOSTTYPE)=sun3 && ($TERM)=sun ) X11 "==", not "=". Parenthesize around the whole expression, too: if (($HOSTTYPE == sun3) && ($TERM == sun)) X11 --karl