I need to run a code in order and use some dates in it.
this is what i tried.
t091="2019-04-01"
t092="2019-04-02"
t093="2019-04-03"
t094="2019-04-04"
t095="2019-04-05"
t096="2019-04-06"
t097="2019-04-07"
t098="2019-04-08"
t099="2019-04-09"
for k in {091..099}; do
echo $t${k}
done
and the output:
091
092
093
094
095
096
097
098
099
I can't run the code without using the dates in order. how can I do it?