#!/bin/bash

foo=0

while true
do
 touch $foo.foo
 foo=$(calc $foo+1)
done
