Date: Mon, 7 Feb 2000 19:18:42 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Dan Larsson <dl@tyfon.net> Cc: "[FreeBSD-Questions-List] (E-postl)" <freebsd-questions@freebsd.org> Subject: Re: shell script if query Message-ID: <20000207191842.F860@strontium.scientia.demon.co.uk> 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
Dan Larsson wrote: > Is it possible to specify some kind of OR statement in if queries when > using sh? if foo || bar; then ... fi or, if you are using "[", if [ -f wobble -o -x wibble ]; then ... fi -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D 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?20000207191842.F860>