Counting to ten
A recent query on how to do:
for i in `seq 1 10` do echo $i done
under OSX, as it doesn't have the 'seq' command. Easy answer. Don't!
In bash 3, you can do this built-in with:
for i in {1..10} do echo $i done
Stepping ...
Read more ..