Page 2 sur 2
Script shell : test incorrect et ouverture fichier
Publié : ven. 8 avr. 2011 11:31
par gizmo78
les fonctions je sais pas les faire en shell ^^
je vais voir ca cette aprem pour les modifications.
merci

Script shell : test incorrect et ouverture fichier
Publié : ven. 8 avr. 2011 11:41
par Zedoune
test() {
echo "parametre 1 : $1"
echo "parametre 2 : $2"
}
test "bonjour"
Script shell : test incorrect et ouverture fichier
Publié : ven. 8 avr. 2011 14:51
par fighting_falcon
voila ... [:al0y]
J'aurai pas dit mieux, merci Zplay
Script shell : test incorrect et ouverture fichier
Publié : ven. 8 avr. 2011 14:56
par gizmo78
okay bas je vais modifier ca et tester alors, merci

Script shell : test incorrect et ouverture fichier
Publié : ven. 8 avr. 2011 15:10
par Zedoune
voila ... [:al0y]
J'aurai pas dit mieux, merci Zplay
et moi je te remercie pour montrer du code propre, parce que pour l'instant je fais du shell à l'arrache, tant que ça marche avec sh je cherche pas à comprendre

Mais après j'ai des emmerdes sur les autres systèmes alors je commence à regarder comment on fait du shell POSIX
