Comments on 2021-01-25 Generating consecutive dates in Unix shell

You don’t need the grep, just use the output formatting in date:

for d in `seq 0 7 36`; do date -d “2020-01-05 $d days” +”%A%t%d-%m-%Y”; done

And adjust to taste - I had to use backticks there because the input box here exploded with dollar(

– Anonymous 2021-02-01 10:07 UTC