13 lines
164 B
Bash
Executable File
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
|