I know what some of you are thinking: "That's easy, just use this"
date -dlast-monday +%Y%m%d
But that's not actually last Monday. That's the most recent Monday, which might be described as "this past Monday" in English.
"Last Monday" normally means the Monday of last week. Does date
have any shorthand way to get what native English speaking humans mean when they say "last Monday"?
For example, today is Tuesday when I write this. The date is 2018-09-04. I want to get 2018-08-27.
(It is at least hypothetically possible that there may be some native speakers who have a different dialect, but either way you understand my question, even if you have a different way of using the expression "last *
day".)