Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!metro!wolfen!hls0!george From: george@hls0.hls.oz (George Turczynski) Newsgroups: comp.unix.shell Subject: Re: (t)csh if query Summary: Try this... Message-ID: <927@hls0.hls.oz> Date: 7 Sep 90 01:56:25 GMT References: <34710@eerie.acsu.Buffalo.EDU> Lines: 25 In article <34710@eerie.acsu.Buffalo.EDU>, cloos@acsu.buffalo.edu (james cloos) writes: > What I tried is: > > if ( ($HOSTTYPE)=sun3 && ($TERM)=sun ) X11 > As far as csh is concerned, I would try this: if( ("$HOSTTYPE" == "sun3") && ("$TERM" == "sun") ) X11 Note the use of spaces (especially around the "=="). Also, RTFM might be helpful in the future (Reading The Friendly? Manual). Good luck, and have a nice day... -- | George P. J. Turczynski. |---------------------------------------------------- | Computer Systems Engineer. | ACSnet: george@highland.oz | I can't speak for the | | Highland Logic Pty. Ltd. | Phone: +61 48 683490 | company, I can barely | | Suite 1, 348-354 Argyle St | Fax: +61 48 683474 | speak for myself... | | Moss Vale. NSW. Australia. 2577 |----------------------------------------------------