palordrolap, 1 year ago Fun fact: If your shell is Bash or supports the same feature(s), date technically isn't needed; printf '%(%s)Tn' works the same. Yes, that is a date/strftime-style percent escape inside a specific parenthetical printf percent escape.
Fun fact: If your shell is Bash or supports the same feature(s), date technically isn't needed; printf '%(%s)Tn' works the same.
date
printf '%(%s)Tn'
Yes, that is a date/strftime-style percent escape inside a specific parenthetical printf percent escape.
strftime
printf