« Programmation Bash/Structures conditionnelles » : différence entre les versions

Contenu supprimé Contenu ajouté
Shadopok (discussion | contributions)
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 7 :
<pre>
if condition
then
then instruction(s)
fi
</pre>
Ligne 13 ⟶ 14 :
<pre>
if condition
then
then instruction(s)
else
instruction(s)
fi
</pre>
Ligne 20 ⟶ 23 :
<pre>
if condition1
then
then instruction(s)
else
if condition2
then
then instruction(s)
else
if condition3
Ligne 34 ⟶ 39 :
<pre>
if condition1
then
then instruction(s)
elif condition2
then
then instruction(s)
elif condition3
...