<?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 on: BASH: Open FileMerge from CLI</title>
	<atom:link href="http://muffinresearch.co.uk/archives/2007/08/16/bash-open-filemerge-from-cli/feed/" rel="self" type="application/rss+xml" />
	<link>http://muffinresearch.co.uk/archives/2007/08/16/bash-open-filemerge-from-cli/</link>
	<description>the personal blog of Stuart Colville covering modern web development techniques and best practices</description>
	<lastBuildDate>Thu, 09 Feb 2012 02:58:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Stuart Colville</title>
		<link>http://muffinresearch.co.uk/archives/2007/08/16/bash-open-filemerge-from-cli/comment-page-1/#comment-58503</link>
		<dc:creator>Stuart Colville</dc:creator>
		<pubDate>Tue, 04 Sep 2007 14:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://muffinresearch.co.uk/archives/2007/08/16/bash-open-filemerge-from-cli/#comment-58503</guid>
		<description>That would be pretty easy; add to .bashrc:

&lt;pre&gt;&lt;code&gt;function bzrdiff {
if [ $# -lt 1 ]
then
cat &lt;&lt;-END
        Usage: bzrdiff file
        Will automatically compare file.OTHER and file.THIS
END
else
  opendiff $1.OTHER $1.THIS -ancestor $1.BASE
fi
}&lt;/code&gt;&lt;/pre&gt;


remember to &lt;code&gt;source ~/.bashrc&lt;/code&gt; for changes to take effect.</description>
		<content:encoded><![CDATA[<p>That would be pretty easy; add to .bashrc:</p>
<pre><code>function bzrdiff {
if [ $# -lt 1 ]
then
cat &lt;&lt;-END
        Usage: bzrdiff file
        Will automatically compare file.OTHER and file.THIS
END
else
  opendiff $1.OTHER $1.THIS -ancestor $1.BASE
fi
}</code></pre>
<p>remember to <code>source ~/.bashrc</code> for changes to take effect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Ward</title>
		<link>http://muffinresearch.co.uk/archives/2007/08/16/bash-open-filemerge-from-cli/comment-page-1/#comment-58502</link>
		<dc:creator>Ben Ward</dc:creator>
		<pubDate>Tue, 04 Sep 2007 13:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://muffinresearch.co.uk/archives/2007/08/16/bash-open-filemerge-from-cli/#comment-58502</guid>
		<description>So, whilst this should be an exercise for the reader, what we&#039;d want is an alias to act like this:

&lt;code&gt;bzrmerge path/to/file.ex&lt;/code&gt;

Automatically open FileMerge and fill in the .THIS, .OTHER and .BASE files for us.

Must. Learn. Bash.</description>
		<content:encoded><![CDATA[<p>So, whilst this should be an exercise for the reader, what we&#8217;d want is an alias to act like this:</p>
<p><code>bzrmerge path/to/file.ex</code></p>
<p>Automatically open FileMerge and fill in the .THIS, .OTHER and .BASE files for us.</p>
<p>Must. Learn. Bash.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

