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:
Using the gcalcli interface to google calendar, print the calendar for the next 2 weeks according to the width of the terminal being used.
* Remove "--mon" to start week on sunday,
* Change 2 for more or less weeks
gcalcli --mon --width $((COLUMNS/8)) calm
for whole month
substitute the URL with your private/public XML url from calendar sharing settings
substitute the dates YYYY-mm-dd
adjust the perl parsing part for your needs