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