for entry in `cat readylist`; do username="`echo $entry | cut -d':' -f1`" first="`echo $entry | cut -d':' -f2 | cut -d'*' -f1`" password="`echo $entry | cut -d':' -f3`" echo "$first," >> $username.letter echo >> $username.letter echo "Enclosed please find your Lab46 account information. This will be" >> $username.letter echo "used to log onto the Lab46 system for use with your classes this" >> $username.letter echo "semester. If you have any questions please let me know at: " >> $username.letter echo >> $username.letter; echo " haas@corning-cc.edu" >> $username.letter echo >> $username.letter; echo "-------------------------------------------" >> $username.letter echo " Lab46 username: $username" >> $username.letter echo " Initial Password: $password" >> $username.letter echo " Hostname: lab46.corning-cc.edu" >> $username.letter echo "-------------------------------------------" >> $username.letter echo >> $username.letter echo "-Matthew" >> $username.letter echo "--" >> $username.letter echo " Matthew Haas" >> $username.letter echo " Instructor" >> $username.letter echo " Computer & Information Science" >> $username.letter echo " http://lab46.corning-cc.edu/haas/home/" >> $username.letter echo >> $username.letter echo " \"Writing should be like breathing;" >> $username.letter echo " it is one of those important things we do.\" --me" >> $username.letter done