BUT2/SCR/SCR1.1/TP08/my_seq.sh
2023-10-23 13:23:36 +02:00

13 lines
164 B
Bash
Executable File

##fait la même chose que seq
#!/bin/bash
if [[ $# -lt 1 ]]
then
echo "Usage: $0 <numercic_argument>"
exit
fi
for((i=1;i<=$1;i++))
do
echo $i
done
exit