The while command evaluates test as an expression (in the same way that expr evaluates its argument). The value of the expression must a proper boolean ...
linux.about.com