8
Not a pure bash solution, but my dateutils can help:
dseq 01.01.2012 31.12.2012 -f %d.%m.%Y -i %d.%m.%Y
=>
01.01.2012
02.01.2012
...
31.12.2012
Output format can be configured with -f and input format with -i.