Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 1998 14:09:11 +0800 (WST)
From:      Dean Hollister <dean@odyssey.apana.org.au>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   bash question
Message-ID:  <Pine.BSF.3.96.980407140742.9001A-100000@odyssey.apana.org.au>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980407140742.9001A-100000>