🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1092

Re: (t)csh if query

#1092
From: George Turczynski
Date: Fri, 07 Sep 1990 01:56
25 lines
1266 bytes
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   |---------------------------------------------------- 
Technical Details
Message-ID: <927@hls0.hls.oz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!metro!wolfen!hls0!george
References: <34710@eerie.acsu.Buffalo.EDU>

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