commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
NB when you run this gcal command in your shell, holidays are highlighted
but this highlighting does not show in the sample output (above).
To find full details on gcal options: gcal --long-help | less
Example for United States, Pennsylvania:
gcal -K -q US_PA 2009 # display holidays in USA/Pennsylvania for 2009 (with week numbers)
Example for Hong Kong:
gcal -K -q HK 2009 # display holidays in Hong Kong for 2009 (with week numbers)
There are 2 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.