Skip to content

Instantly share code, notes, and snippets.

@mmaha
Created September 4, 2011 12:39
Show Gist options
  • Save mmaha/1192802 to your computer and use it in GitHub Desktop.
Save mmaha/1192802 to your computer and use it in GitHub Desktop.
Display calendar with current date colored
#!/bin/sh
cal | GREP_COLOR="32" grep --color -C6 -E "(^| )$(date +%e)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment