Merge branch 'master' of https://git.gnous.eu/mael/tp2-adminsys
This commit is contained in:
commit
7105decc3b
1 changed files with 14 additions and 0 deletions
14
monshell2.sh
Executable file
14
monshell2.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
|
||||||
|
read -p "entrez une valeur mavar" mavar
|
||||||
|
|
||||||
|
if [ $mavar -eq 1 ]
|
||||||
|
then
|
||||||
|
echo "un"
|
||||||
|
|
||||||
|
elif [ $mavar -eq 3 ] || [ $mavar -eq 5 ]
|
||||||
|
then
|
||||||
|
echo "trois ou cinq"
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "autre chose"
|
||||||
|
fi
|
Loading…
Reference in a new issue