How to print dates between two dates in format %Y%m%d in shell script?
<p>I have two arguments as inputs:  <code>startdate=20160512</code> and <code>enddate=20160514</code>.</p>

<p>I want to be able to generate the days between those two dates in my bash script, not including the startdate, but including the enddate:</p>

<p>20160513
20160514
I am using linux machine.
How do I accomplish this?  Thanks.  </p>