SoloCDM wrote:
>
> I tried to evaluate an arithmetic value with a while command using
> "while [ ${MANS} >= 4 ]", but it doesn't work . . . why? Ignore the
> omittance of do through done.
Try using the bash arithmetic test operators.
i=8;while [ $i -ge 4 ] ; do let i-=1; echo $i;done ;
-Mark
--
Mark Belanger
LTX Corporation
- [expert] BASH Arithmetic Evaluation SoloCDM
- Mark Belanger
