Possible Duplicate:
How do I iterate over a range of numbers in bash?
When I do this:
RANGE_COUNT=28
for i in {0..$RANGE_COUNT} ; do echo $i; done
I get this
{0..28}
When I do this:
for i in {0..5} ; do echo $i; done
I get this:
0
1
2
3
4
5
What's up with that and how do I make it do what I clearly intend and am obviously not stating correctly?