as_of_dt=\'2016-01-01\' as_of_dt_prev_year=$($as_of_dt -d \'-1 year\' +\'%Y-%m-%d\') echo $as_of_dt_prev_year
This does not work. error: -d: comman