#!/bin/ksh #Output the login name of everyone in the class who has mail waiting #for them. #Sample use: recipients2 cd ~mm64/bin/roster 45 | sort > inclass ls /var/mail > hasmail comm -12 inclass hasmail rm inclass hasmail