gaetan.perrier@free.fr a écrit :
Selon Jérôme Moinet <jerome@lautre.net>:-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1Donc j'ai commencé à écrire un script, mais lorsque j'aimerais cacher lemotde passe lors de la saisie dans mon script.echo "mot de passe :"; read pass #Mot de passe saisie en clair.echo "pass :" stty -echo read pass stty echo echo "Pass saisi : $pass"Connaissez-vous des sites ou des livres que l'on trouve facilement sur laprogrammation BASH? Perso, j'ai appris unix avec le rifflet(http://www.amazon.fr/exec/obidos/ASIN/2840740133/qid=1149497488/sr=1-1/ref=sr_1_8_1/402-8044791-3636938)qui semble avoir été remplacé par une édition plus récente ?(http://www.amazon.fr/exec/obidos/ASIN/2100079662/qid=1149497289/sr=8-3/ref=sr_8_xs_ap_i3_xgl14/402-8044791-3636938)Il y a aussi un bouquin chez o'reilly : http://www.oreilly.com/catalog/bash3/index.html avec son cookbook : http://www.oreilly.com/catalog/bashckbk/index.html, mais je ne les connais pas, étant plutôt utilisateur du ksh (http://www.oreilly.com/catalog/korn2/index.html).En français on a aussi chez O'reilly: "Introduction aux scripts shell" (http://www.oreilly.fr/catalogue/2841773752.html) "Le shell Bash" (http://www.oreilly.fr/catalogue/2841774031.html) Gaëtan
http://abs.traduc.org/abs-3.5-fr/___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com