I want to run certain actions on a group of lexicographically named files (01-09 before 10). I have to use a rather old version of FreeBSD (7.3), so I can\'t use yummies like
I guess you are looking for this trick:
#!/bin/bash s=1 e=30 printf "%02d " $(eval echo {$s..$e})