#!/bin/bash #number to start with x=0 # number to stop at namely 99 files x 3.64 degrees until [ $x = 360.36 ]; do #read out the current number echo $x # add 3.64 to the current number to make the next number with two decimal points x=$(echo "scale=2; $x + 3.64" | bc) done