<?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/"
		>
<channel>
	<title>Comments for Feeding the Bit Bucket</title>
	<atom:link href="http://www.adrianmouat.com/bit-bucket/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adrianmouat.com/bit-bucket</link>
	<description>Software development thoughts and rants</description>
	<lastBuildDate>Sat, 14 Jan 2012 13:28:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Minimal TODOs for Linux by Zhang Huangbin</title>
		<link>http://www.adrianmouat.com/bit-bucket/2012/01/minimal-todos-for-linux/comment-page-1/#comment-7333</link>
		<dc:creator>Zhang Huangbin</dc:creator>
		<pubDate>Sat, 14 Jan 2012 13:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.adrianmouat.com/bit-bucket/?p=292#comment-7333</guid>
		<description>Todo.txt? will have a look later, thanks for your sharing. :)

I improved the shell code today, It now supports multiple projects/files, with 3 actions available:

- Create a new task in project &quot;prj&quot;: td prj task
- Delete third task: tddone prj 3
- Move third task on the top: tdtop prj 3

Shell script is available here: https://gist.github.com/1611400</description>
		<content:encoded><![CDATA[<p>Todo.txt? will have a look later, thanks for your sharing. :)</p>
<p>I improved the shell code today, It now supports multiple projects/files, with 3 actions available:</p>
<p>- Create a new task in project &#8220;prj&#8221;: td prj task<br />
- Delete third task: tddone prj 3<br />
- Move third task on the top: tdtop prj 3</p>
<p>Shell script is available here: <a href="https://gist.github.com/1611400" rel="nofollow">https://gist.github.com/1611400</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minimal TODOs for Linux by Adrian Mouat</title>
		<link>http://www.adrianmouat.com/bit-bucket/2012/01/minimal-todos-for-linux/comment-page-1/#comment-7331</link>
		<dc:creator>Adrian Mouat</dc:creator>
		<pubDate>Sat, 14 Jan 2012 12:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.adrianmouat.com/bit-bucket/?p=292#comment-7331</guid>
		<description>Thanks Zhang. I&#039;ve move to Todo.txt, but hopefully someone else will find that useful. My current problem is that conky doesn&#039;t seem to play nice with Ubuntu and Chrome - I quite often end up with conky either disappearing completely or on top of all the windows.</description>
		<content:encoded><![CDATA[<p>Thanks Zhang. I&#8217;ve move to Todo.txt, but hopefully someone else will find that useful. My current problem is that conky doesn&#8217;t seem to play nice with Ubuntu and Chrome &#8211; I quite often end up with conky either disappearing completely or on top of all the windows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minimal TODOs for Linux by Zhang Huangbin</title>
		<link>http://www.adrianmouat.com/bit-bucket/2012/01/minimal-todos-for-linux/comment-page-1/#comment-7330</link>
		<dc:creator>Zhang Huangbin</dc:creator>
		<pubDate>Sat, 14 Jan 2012 12:04:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.adrianmouat.com/bit-bucket/?p=292#comment-7330</guid>
		<description>Add function to top a task: todotop.

######
todotop() {
    sed -n &quot;${1}p&quot; ${TODO} &gt; ${TODO}.top
    todone ${1}
    cat ${TODO} &gt;&gt; ${TODO}.top
    mv ${TODO}.top ${TODO}
}
######</description>
		<content:encoded><![CDATA[<p>Add function to top a task: todotop.</p>
<p>######<br />
todotop() {<br />
    sed -n &#8220;${1}p&#8221; ${TODO} &gt; ${TODO}.top<br />
    todone ${1}<br />
    cat ${TODO} &gt;&gt; ${TODO}.top<br />
    mv ${TODO}.top ${TODO}<br />
}<br />
######</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minimal TODOs for Linux by Zhang Huangbin</title>
		<link>http://www.adrianmouat.com/bit-bucket/2012/01/minimal-todos-for-linux/comment-page-1/#comment-7325</link>
		<dc:creator>Zhang Huangbin</dc:creator>
		<pubDate>Sat, 14 Jan 2012 06:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.adrianmouat.com/bit-bucket/?p=292#comment-7325</guid>
		<description>Slightly improved.

*) Don&#039;t hard-code line number. Use &#039;cat -b&#039; to get actual line number.
*) Delete task with sed.

#############
# .bash_profile
export TODO=~/.todo
todo() {
    if [ X&quot;$#&quot; == X&#039;0&#039; ]; then
        [ -f $TODO ] &#124;&#124; touch ${TODO}
        cat -b $TODO
    else
        echo &quot;$@&quot; &gt;&gt; $TODO
    fi
}

todone() {
    export line=&quot;${1}&quot;
    sed &quot;${line}d&quot; ${TODO} &gt; ${TODO}.tmp
    mv ${TODO}.tmp ${TODO}
}
#############</description>
		<content:encoded><![CDATA[<p>Slightly improved.</p>
<p>*) Don&#8217;t hard-code line number. Use &#8216;cat -b&#8217; to get actual line number.<br />
*) Delete task with sed.</p>
<p>#############<br />
# .bash_profile<br />
export TODO=~/.todo<br />
todo() {<br />
    if [ X"$#" == X'0' ]; then<br />
        [ -f $TODO ] || touch ${TODO}<br />
        cat -b $TODO<br />
    else<br />
        echo &#8220;$@&#8221; &gt;&gt; $TODO<br />
    fi<br />
}</p>
<p>todone() {<br />
    export line=&#8221;${1}&#8221;<br />
    sed &#8220;${line}d&#8221; ${TODO} &gt; ${TODO}.tmp<br />
    mv ${TODO}.tmp ${TODO}<br />
}<br />
#############</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minimal TODOs for Linux by Adrian Mouat</title>
		<link>http://www.adrianmouat.com/bit-bucket/2012/01/minimal-todos-for-linux/comment-page-1/#comment-7219</link>
		<dc:creator>Adrian Mouat</dc:creator>
		<pubDate>Mon, 09 Jan 2012 13:52:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.adrianmouat.com/bit-bucket/?p=292#comment-7219</guid>
		<description>Thanks for all the comments. Task Warrior is bit more complex than I&#039;m looking for, but Todo .txt looks great - it has an equally minimalist interface but some extra features should you need them.</description>
		<content:encoded><![CDATA[<p>Thanks for all the comments. Task Warrior is bit more complex than I&#8217;m looking for, but Todo .txt looks great &#8211; it has an equally minimalist interface but some extra features should you need them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minimal TODOs for Linux by Paul Beckingham</title>
		<link>http://www.adrianmouat.com/bit-bucket/2012/01/minimal-todos-for-linux/comment-page-1/#comment-7198</link>
		<dc:creator>Paul Beckingham</dc:creator>
		<pubDate>Sun, 08 Jan 2012 15:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.adrianmouat.com/bit-bucket/?p=292#comment-7198</guid>
		<description>Adrian Mouat says:

&gt; But I really want to keep things as simple and low impedance as possible.

This really is the most critical part.  TODO software needs to be as minimal as possible when it comes to the four basic operations: add, done, delete, list.  Beyond that, it helps to have automatic installation, man pages if you need them, and tutorials.

Nice article Adrian.</description>
		<content:encoded><![CDATA[<p>Adrian Mouat says:</p>
<p>&gt; But I really want to keep things as simple and low impedance as possible.</p>
<p>This really is the most critical part.  TODO software needs to be as minimal as possible when it comes to the four basic operations: add, done, delete, list.  Beyond that, it helps to have automatic installation, man pages if you need them, and tutorials.</p>
<p>Nice article Adrian.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minimal TODOs for Linux by Adrian Mouat</title>
		<link>http://www.adrianmouat.com/bit-bucket/2012/01/minimal-todos-for-linux/comment-page-1/#comment-7196</link>
		<dc:creator>Adrian Mouat</dc:creator>
		<pubDate>Sun, 08 Jan 2012 11:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.adrianmouat.com/bit-bucket/?p=292#comment-7196</guid>
		<description>@Moses Moore, @reader_1000, thanks for the suggested improvements! I&#039;ll try them out and update the post if that&#039;s ok.

@bitigchi, the post http://blog.jerodsanto.net/2010/12/minimally-awesome-todos/ has the MacOS app which this is a port of. It is very similar, but doesn&#039;t use conky and puts everything in bash functions rather than /usr/local/bin scripts.

@Beetle B, @Aximilation, I&#039;ll check out taskwarrior. But I really want to keep things as simple and low impedance as possible.</description>
		<content:encoded><![CDATA[<p>@Moses Moore, @reader_1000, thanks for the suggested improvements! I&#8217;ll try them out and update the post if that&#8217;s ok.</p>
<p>@bitigchi, the post <a href="http://blog.jerodsanto.net/2010/12/minimally-awesome-todos/" rel="nofollow">http://blog.jerodsanto.net/2010/12/minimally-awesome-todos/</a> has the MacOS app which this is a port of. It is very similar, but doesn&#8217;t use conky and puts everything in bash functions rather than /usr/local/bin scripts.</p>
<p>@Beetle B, @Aximilation, I&#8217;ll check out taskwarrior. But I really want to keep things as simple and low impedance as possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minimal TODOs for Linux by bitigchi</title>
		<link>http://www.adrianmouat.com/bit-bucket/2012/01/minimal-todos-for-linux/comment-page-1/#comment-7188</link>
		<dc:creator>bitigchi</dc:creator>
		<pubDate>Sat, 07 Jan 2012 23:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.adrianmouat.com/bit-bucket/?p=292#comment-7188</guid>
		<description>Is it possible to do this in Mac OS X?</description>
		<content:encoded><![CDATA[<p>Is it possible to do this in Mac OS X?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minimal TODOs for Linux by reader_1000</title>
		<link>http://www.adrianmouat.com/bit-bucket/2012/01/minimal-todos-for-linux/comment-page-1/#comment-7187</link>
		<dc:creator>reader_1000</dc:creator>
		<pubDate>Sat, 07 Jan 2012 22:58:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.adrianmouat.com/bit-bucket/?p=292#comment-7187</guid>
		<description>although this is neither nice nor efficient way of doing, I added the following code to the script so that it will re-index the items in the todo list

elif [ &quot;$1&quot; == &quot;reindex&quot; -a $# == &quot;1&quot; ]; then                                                                                                                    
  i=1                                                                                                                                                            
  while read line                                                                                                                                                
  do                                                                                                                                                             
    old_index=$(echo &quot;$line&quot; &#124; cut -d &#039; &#039; -f 1)                                                                                                                  
    sed -i &quot;s/$old_index/$i/&quot; &quot;$TODO&quot;                                                                                                                            
    i=$(($i + 1))                                                                                                                                                
  done  reindex todo
3 -&gt; do it now
5 -&gt; are you still waiting

running &quot;todo reindex&quot; will convert it to
1 -&gt; reindex todo
2 -&gt; do it now
3 -&gt; are you still waiting</description>
		<content:encoded><![CDATA[<p>although this is neither nice nor efficient way of doing, I added the following code to the script so that it will re-index the items in the todo list</p>
<p>elif [ "$1" == "reindex" -a $# == "1" ]; then<br />
  i=1<br />
  while read line<br />
  do<br />
    old_index=$(echo &#8220;$line&#8221; | cut -d &#8216; &#8216; -f 1)<br />
    sed -i &#8220;s/$old_index/$i/&#8221; &#8220;$TODO&#8221;<br />
    i=$(($i + 1))<br />
  done  reindex todo<br />
3 -&gt; do it now<br />
5 -&gt; are you still waiting</p>
<p>running &#8220;todo reindex&#8221; will convert it to<br />
1 -&gt; reindex todo<br />
2 -&gt; do it now<br />
3 -&gt; are you still waiting</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Minimal TODOs for Linux by Aximilation</title>
		<link>http://www.adrianmouat.com/bit-bucket/2012/01/minimal-todos-for-linux/comment-page-1/#comment-7184</link>
		<dc:creator>Aximilation</dc:creator>
		<pubDate>Sat, 07 Jan 2012 22:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.adrianmouat.com/bit-bucket/?p=292#comment-7184</guid>
		<description>I second Beetle on taskwarrior.org. I used it a while ago and remember it being clean and elegant, but also able to support projects and GTD style organizaion. It would be very simple to put together a script or two to display the tasks in conky. Check it out!</description>
		<content:encoded><![CDATA[<p>I second Beetle on taskwarrior.org. I used it a while ago and remember it being clean and elegant, but also able to support projects and GTD style organizaion. It would be very simple to put together a script or two to display the tasks in conky. Check it out!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

