if test $# = 2
then
    if test $1 = "nom"
    then
        grep $2 /users/but/info/Public/Liste1A.txt | cut -d ':' -f 2,3
    else
        if test $1 = "login"
        then
        grep $2 /users/but/info/Public/Liste1A.txt | cut -d ':' -f 1
        else
            if test $1 = "courriel"
            then
            grep $2 /users/but/info/Public/Liste1A.txt | cut -d ':' -f 4
            fi
        fi
    fi
else
    echo "Usage : les1A resultat(nom/login/courriel) groupe(TP1/TP1B/...)"
fi
