🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1008

Re: (t)csh if query

#1008
From: karl_kleinpaste
Date: Tue, 04 Sep 1990 20:40
9 lines
673 bytes
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
Technical Details
Message-ID: <KARL.90Sep4164023@giza.cis.ohio-state.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!cis.ohio-state.edu!karl_kleinpaste
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!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: <KARL.90Sep4164023@giza.cis.ohio-state.edu>
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