Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!steinmetz!nyfca1!brspyr1!tim From: tim@brspyr1.BRS.Com (Tim Northrup) Newsgroups: comp.unix.questions Subject: Re: Environment variables Message-ID: <1700@brspyr1.BRS.Com> Date: Tue, 25-Aug-87 18:31:55 EDT Article-I.D.: brspyr1.1700 Posted: Tue Aug 25 18:31:55 1987 Date-Received: Thu, 27-Aug-87 06:23:41 EDT References: <626@unmvax.unm.edu> Organization: BRS Information Technologies, Latham NY Lines: 18 in article <626@unmvax.unm.edu>, Michael I. Bushnell says: + | How can I determine if an environment variable is set using csh? | (I.e., in a script) | Michael I. Bushnell | a/k/a Bach II + mike@turing.UNM.EDU if ( $?variable ) then VARIABLE IS SET TO SOMETHING else IT AIN'T endif -- Tim "The Enchanter" Northrup ========================================++===================================== " ... for death awaits you all || tim@brspyr1.BRS.Com with big, sharp, pointy teeth!" || uunet!steinmetz!brspyr1!tim