for letter in `/bin/ls -1A *.letter`; do username="`echo $letter | cut -d'.' -f1`" mail ${username}@corning-cc.edu wedge@lab46.corning-cc.edu -s "Lab46 Account Information" < $letter done