5 if echo "$NUM" |
grep -q "[^[:digit:]]"; then
6 echo "Parameter not numeric"
13 USERS
=`cat /etc/passwd | sort -n -k 3 -t : | cut -d : -f 3`
15 PREVUSER
=$
(expr $DAEMONUSER - 1)
18 [ $i -lt $DAEMONUSER ] && continue
19 if [ $
(expr $i - $PREVUSER) -ge 2 ]; then
20 echo $
(expr $PREVUSER + 1)