Francois Boisson a écrit, jeudi 1 novembre 2007, à 11:52 : > > > VERIF=`grep $USER /etc/passwd | cut -d: -f1` > > > > if [ ! -e "$VERIF" ]; then > > if grep -q $USER /etc/passwd ; then > > devrait marcher
Plutôt « grep -q -m1 "^${USER}:" » ? -- Jacques L'helgoualc'h -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]