Handy script, thanks.

For bash-only implementation, this substitution should work:
for (( i=$((BASEVER + 1)); i <= ${LASTPATCH}; i++ )); do

.
_________________________
- Tony C
my empeg stuff