[plug] problem found in "if" statement

Arie Hol arie99 at ozemail.com.au
Wed Aug 27 20:09:43 WST 2003


At 09:13 AM 27-08-2003 +0800, you wrote:
>I've found a problem in an "if" statement and cannot find a fix.  The
statement is
>if [ "$vMLSTAT" >= 0 ]; then
>  .....
>  .....
>
>fi
> I'm getting a unary operator expected.  


Could it be because you are trying to evaluate a 'string' against an
'integer' in the hope that you will get  a 'boolean' as a result ?????
Regards Arie Hol

>--------------------------------------------<

For the concert of life, nobody has a program.

>--------------------------------------------<



More information about the plug mailing list