This commit is contained in:
2022-11-15 15:35:45 +01:00
parent cce03510aa
commit 2da0215d27
24 changed files with 867 additions and 0 deletions

16
TP08/my_seq.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
## A simple script shell which reproduces the
## $(seq) behaviour
if [[ $# -lt 1 ]]
then
echo "Usage : my_seq.sh <number_of_iterations>"
exit
fi
for ((i = 1; i <= $1; i++))
do
echo $i
done
exit

4
TP08/tp08-reponses.txt Normal file
View File

@@ -0,0 +1,4 @@
Question 3b)
echo "$? x=$x" affiche 0 x = 7
echo "$? x=$x" affiche 0 x =
echo "$? x=$x" affiche 1 x =