#funwithscripting — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #funwithscripting, aggregated by home.social.
-
Finding the second last Tuesday in July:
date -d $( for n in $( seq 1 7 ) ; do date -d "August "$n +"%Y%m%d %a" ; done | grep Tue | sed "s/ .*//" )" - 14 days"
Obvious, really.