From owner-freebsd-questions Mon Apr 6 23:07:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA26765 for freebsd-questions-outgoing; Mon, 6 Apr 1998 23:07:36 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA26754 for ; Mon, 6 Apr 1998 23:07:28 -0700 (PDT) (envelope-from dean@odyssey.apana.org.au) Received: from localhost (dean@localhost) by odyssey.apana.org.au (8.8.7/8.8.7) with SMTP id OAA09048 for ; Tue, 7 Apr 1998 14:09:11 +0800 (WST) Date: Tue, 7 Apr 1998 14:09:11 +0800 (WST) From: Dean Hollister To: FreeBSD Questions Subject: bash question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Just a quick (and no doubt easy question). I have a bash script, and want to check if a value is greater than 100 and less than 1000. I get as far as: if [ $value what goes in here? ]; then dosomething fi Any help appreciated. Regards, d. +-------------------------------------------------------+ | Dean Hollister, | dean@odyssey.apana.org.au | | Perth, Western Australia. | deanh@iinet.net.au | +-------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message