create time sequence in bash

hi all,

hope someone can assist in this. I'm trying to make a sequence of time in bash so that the output prints the following;

1950-01-01
1950-02-01
1950-03-01
...
1999-11-01
1999-12-01

In R, i can issue the following command;

t1 <- ISOdate(1950,1,1,0,0,0)
t2 <- ISOdate(1999,12,1,0,0,0)
t3 <- seq(t1,t2,"month")

thanks.

---------- Post updated at 07:48 AM ---------- Previous update was at 07:25 AM ----------

i have found a solution to my previous post;

#!/bin/bash

yr=`seq 1950 1960`
mt=`seq 1 12`

for a in $yr; do
for i in $mt; do
 echo $a-$(printf "%02d" $i)-01
done
 echo ""
done