Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2000 19:17:27 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Dan Larsson <dl@tyfon.net>
Cc:        "[FreeBSD-Questions-List] (E-postl)" <freebsd-questions@freebsd.org>
Subject:   Re: shell script if query
Message-ID:  <20000207191727.B3126@marder-1>
In-Reply-To: <01BF719A.C8E227B0.dl@tyfon.net>
References:  <01BF719A.C8E227B0.dl@tyfon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 07, 2000 at 06:40:19PM +0100, Dan Larsson wrote:
> Is it possible to specify some kind of OR statement
> in if queries when using sh?
> 

If you mean like:

    if ( $TERM == xterm || $TERM == xterm-color )

then yes.
	

> Regards
> ------------
> Dan Larsson
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
	Microsoft: Where do you want to go today?
	Linux:     Where do you want to go tomorrow?
	BSD:       Are you guys coming, or what?
			              -Poster at LinuxWorld 2000
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org             http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000207191727.B3126>