Files
cours/SCR/SCR1.2/TP08/my_seq.sh
T
2026-11-10 17:00:01 +01:00

9 lines
127 B
Bash
Executable File

#!/bin/bash
if [[ $# -lt 1 ]]; then
echo "usage: $0 <int>"
exit 1
fi
for ((i = 1; i <= $1; i = i + 1)); do echo $i; done