<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments on: Hacking a Google Calendar CLI Tool	</title>
	<atom:link href="https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/feed/" rel="self" type="application/rss+xml" />
	<link>https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/</link>
	<description></description>
	<lastBuildDate>Tue, 11 Mar 2014 14:43:44 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.8</generator>
	<item>
		<title>
		By: GrouchyGaijin		</title>
		<link>https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/#comment-525064</link>

		<dc:creator><![CDATA[GrouchyGaijin]]></dc:creator>
		<pubDate>Tue, 11 Mar 2014 14:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2010/10/19/hacking-a-google-calendar-cli/#comment-525064</guid>

					<description><![CDATA[Thanks man, 
This is exactly what I set out to do when I found your post.]]></description>
			<content:encoded><![CDATA[<p>Thanks man,<br />
This is exactly what I set out to do when I found your post.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Greg Laden		</title>
		<link>https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/#comment-525063</link>

		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Thu, 21 Oct 2010 16:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2010/10/19/hacking-a-google-calendar-cli/#comment-525063</guid>

					<description><![CDATA[travc: I thought about that, but is beyond me. You should do it!  Anyway, what you are suggesting is actually much preferable to a bash script, because, at least I&#039;d argue, these small changes would enhance but not bloat the program.  Just bringing existing functionality in line with existing usage.  Otherwise, a bash (or other) script might be better because of the one well made tool per job thingie.  But really, my script is a wrapper, not a tool.

Regarding OSX, etc.: I&#039;ll note that Dave Taylor now develops and tests on his Mac for his column in Linux Journal.  Which makes me feel a little funny but I suppose it&#039;s OK. ]]></description>
			<content:encoded><![CDATA[<p>travc: I thought about that, but is beyond me. You should do it!  Anyway, what you are suggesting is actually much preferable to a bash script, because, at least I&#8217;d argue, these small changes would enhance but not bloat the program.  Just bringing existing functionality in line with existing usage.  Otherwise, a bash (or other) script might be better because of the one well made tool per job thingie.  But really, my script is a wrapper, not a tool.</p>
<p>Regarding OSX, etc.: I&#8217;ll note that Dave Taylor now develops and tests on his Mac for his column in Linux Journal.  Which makes me feel a little funny but I suppose it&#8217;s OK. </p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: travc		</title>
		<link>https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/#comment-525062</link>

		<dc:creator><![CDATA[travc]]></dc:creator>
		<pubDate>Thu, 21 Oct 2010 06:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2010/10/19/hacking-a-google-calendar-cli/#comment-525062</guid>

					<description><![CDATA[Nemo,
You may already know this, but to get pedantic...
OSX is based on BSD, so a lot of the standard utilities are bit different.  Generally BSD is leaner than GNU stuff, so the GNU tools have extra options but almost always handles all the BSD options.

Anyway, throwing in &quot;OSX&quot; or &quot;BSD&quot; into web-searches for documentation can be useful.  I frequently write stuff on my desktop (Ubuntu) and get annoyed by it not working on my laptop (OSX).]]></description>
			<content:encoded><![CDATA[<p>Nemo,<br />
You may already know this, but to get pedantic&#8230;<br />
OSX is based on BSD, so a lot of the standard utilities are bit different.  Generally BSD is leaner than GNU stuff, so the GNU tools have extra options but almost always handles all the BSD options.</p>
<p>Anyway, throwing in &#8220;OSX&#8221; or &#8220;BSD&#8221; into web-searches for documentation can be useful.  I frequently write stuff on my desktop (Ubuntu) and get annoyed by it not working on my laptop (OSX).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: travc		</title>
		<link>https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/#comment-525061</link>

		<dc:creator><![CDATA[travc]]></dc:creator>
		<pubDate>Thu, 21 Oct 2010 06:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2010/10/19/hacking-a-google-calendar-cli/#comment-525061</guid>

					<description><![CDATA[bash scripting is very very useful and all...

But you could just modify the actual gcalcli program (it&#039;s in python).

Line 227 in version 1.4 is:
    agendaLength  = 5

I assume that is the default value you want to be different.

If you wanted to be cool about it, you could change the way it parses the &quot;end&quot; argument for the &quot;agenda&quot; option.  I&#039;d suggest something simple like a string starting with &#039;+&#039; is parsed as a number of days from the start value.  While you&#039;re at it, you could have it accept unix time for start and/or end... maybe if the string is prefixed with &#039;@&#039;, or again getting cool, if the string is just an integer value without any extra stuff.

Oh, and share the patch of course ;)]]></description>
			<content:encoded><![CDATA[<p>bash scripting is very very useful and all&#8230;</p>
<p>But you could just modify the actual gcalcli program (it&#8217;s in python).</p>
<p>Line 227 in version 1.4 is:<br />
    agendaLength  = 5</p>
<p>I assume that is the default value you want to be different.</p>
<p>If you wanted to be cool about it, you could change the way it parses the &#8220;end&#8221; argument for the &#8220;agenda&#8221; option.  I&#8217;d suggest something simple like a string starting with &#8216;+&#8217; is parsed as a number of days from the start value.  While you&#8217;re at it, you could have it accept unix time for start and/or end&#8230; maybe if the string is prefixed with &#8216;@&#8217;, or again getting cool, if the string is just an integer value without any extra stuff.</p>
<p>Oh, and share the patch of course 😉</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nemo		</title>
		<link>https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/#comment-525060</link>

		<dc:creator><![CDATA[Nemo]]></dc:creator>
		<pubDate>Wed, 20 Oct 2010 19:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2010/10/19/hacking-a-google-calendar-cli/#comment-525060</guid>

					<description><![CDATA[I just experimented. I knew that GNU date had some powerful parsing abilities, but I didn&#039;t and still don&#039;t know exactly what it will take. The first few things I tried, like &quot;two weeks from now&quot;, didn&#039;t work. But the GNU stuff often saves its best documentation for the &quot;info&quot; system, so maybe it&#039;s there?

This only works with GNU date, not e.g. the &quot;date&quot; that comes with OS X.]]></description>
			<content:encoded><![CDATA[<p>I just experimented. I knew that GNU date had some powerful parsing abilities, but I didn&#8217;t and still don&#8217;t know exactly what it will take. The first few things I tried, like &#8220;two weeks from now&#8221;, didn&#8217;t work. But the GNU stuff often saves its best documentation for the &#8220;info&#8221; system, so maybe it&#8217;s there?</p>
<p>This only works with GNU date, not e.g. the &#8220;date&#8221; that comes with OS X.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Greg Laden		</title>
		<link>https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/#comment-525059</link>

		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Wed, 20 Oct 2010 17:56:19 +0000</pubDate>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2010/10/19/hacking-a-google-calendar-cli/#comment-525059</guid>

					<description><![CDATA[I meant 14 days.  ]]></description>
			<content:encoded><![CDATA[<p>I meant 14 days.  </p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Garry Knight		</title>
		<link>https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/#comment-525058</link>

		<dc:creator><![CDATA[Garry Knight]]></dc:creator>
		<pubDate>Wed, 20 Oct 2010 17:51:52 +0000</pubDate>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2010/10/19/hacking-a-google-calendar-cli/#comment-525058</guid>

					<description><![CDATA[&quot;what if you wanted ten days starting on December 20th?  Then, the month goes back to 1, and the year is incremented.&quot; How so? Surely those days would be the 20th thru 29th.]]></description>
			<content:encoded><![CDATA[<p>&#8220;what if you wanted ten days starting on December 20th?  Then, the month goes back to 1, and the year is incremented.&#8221; How so? Surely those days would be the 20th thru 29th.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Greg Laden		</title>
		<link>https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/#comment-525057</link>

		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Wed, 20 Oct 2010 13:52:29 +0000</pubDate>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2010/10/19/hacking-a-google-calendar-cli/#comment-525057</guid>

					<description><![CDATA[RSG, sorry, no.  man date and date --help do not indicate the required information used by Nemo.  ]]></description>
			<content:encoded><![CDATA[<p>RSG, sorry, no.  man date and date &#8211;help do not indicate the required information used by Nemo.  </p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: RSG		</title>
		<link>https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/#comment-525056</link>

		<dc:creator><![CDATA[RSG]]></dc:creator>
		<pubDate>Wed, 20 Oct 2010 05:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2010/10/19/hacking-a-google-calendar-cli/#comment-525056</guid>

					<description><![CDATA[The date string codes can be accessed by &quot;date --help&quot;.]]></description>
			<content:encoded><![CDATA[<p>The date string codes can be accessed by &#8220;date &#8211;help&#8221;.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Greg Laden		</title>
		<link>https://gregladen.com/blog/2010/10/19/hacking-a-google-calendar-cli/#comment-525055</link>

		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Wed, 20 Oct 2010 03:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2010/10/19/hacking-a-google-calendar-cli/#comment-525055</guid>

					<description><![CDATA[Brilliant!  I knew someone would solve this more easily than I had.  It would have to be:

date -d &quot;+2 weeks&quot; +%D 

(we need 11/02/10 for the format)

So, in the above, forget that math and substitute the above, or something like &quot;+10 days&quot; or whatever.

Just out of curiosity, where did you find documentation of the date STRING codes?  (Not in the man file. Maybe I should have looked in the info?)]]></description>
			<content:encoded><![CDATA[<p>Brilliant!  I knew someone would solve this more easily than I had.  It would have to be:</p>
<p>date -d &#8220;+2 weeks&#8221; +%D </p>
<p>(we need 11/02/10 for the format)</p>
<p>So, in the above, forget that math and substitute the above, or something like &#8220;+10 days&#8221; or whatever.</p>
<p>Just out of curiosity, where did you find documentation of the date STRING codes?  (Not in the man file. Maybe I should have looked in the info?)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
