From owner-freebsd-questions Mon Feb 7 11:30:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by builder.freebsd.org (Postfix) with SMTP id D638540E1 for ; Mon, 7 Feb 2000 11:30:14 -0800 (PST) Received: (qmail 29915 invoked from network); 7 Feb 2000 19:16:51 -0000 Received: from userbk39.uk.uudial.com (HELO marder-1.) (62.188.144.47) by smtp.dial.pipex.com with SMTP; 7 Feb 2000 19:16:51 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id TAA03513; Mon, 7 Feb 2000 19:17:27 GMT (envelope-from mark) Date: Mon, 7 Feb 2000 19:17:27 +0000 From: Mark Ovens To: Dan Larsson Cc: "[FreeBSD-Questions-List] (E-postl)" Subject: Re: shell script if query Message-ID: <20000207191727.B3126@marder-1> References: <01BF719A.C8E227B0.dl@tyfon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <01BF719A.C8E227B0.dl@tyfon.net> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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