2017 shaares
45 private links
45 private links
1 result
tagged
fun
Sharing a tiny bash function I'd written, to look up day for a date. Find it useful.
sd ()
{
cal -y | GREP_COLORS="mt=07;32" \grep --color=always -EC 4 " $1 |^$1 " | GREP_COLORS="sl=11;33:mt=07;33" \grep --color=always -B2 -A6 '[A-Z][a-z] '
}
@nixcraft @climagic #linux #shell https://t.co/i9zhJUMjX0