séquence de bash

seq FIRST INCREMENT LAST


for i in $(seq 2.5 .1 5);
do
    # Print the value
    echo $i;
done

2.5
2.6
2.7
2.8
.......

Hutch Polecat