Course Management Scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
210 B

#!/bin/bash
if [ -t 0 ]; then
if [ -r $1 ]; then
exec $0 < $1
fi
echo "usages:"
echo "./$0 < fname"
echo "./$0 fname"
exit 1
fi
IFS=","
while read FNAME LNAME EMAIL UNAME REST; do
echo "$UNAME"
done