Just a little question. I've been writing bash scripts for quite a while and, whilst I always get there in the end, I usually find little things that don't work when I think they should. I usually just use another method, but his one puzzles me....
Simple example (that doesn't work):
MAX=20
for count in {1..$MAX}; do
...
done
why can't I put a variable in the braces?
Thanks for reading
-s