Steve writes: > ...I can't think of a sane way to do this in plain POSIX sh. until [ `expr "$PASSWORD" : ".*"` -ge 8 ] do PASSWORD=`head -c 100 /dev/urandom | tr -dc '[:alnum:]' | tail -c 8` done -- John Hasler john@dhh.gt.org Dancing Horse Hill Elmwood, Wisconsin