<?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 btaz</title>
	<atom:link href="http://www.btaz.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.btaz.com</link>
	<description>Promoting the art of coding</description>
	<lastBuildDate>Tue, 13 Dec 2011 16:17:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>Comment on GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists by WallTearer</title>
		<link>http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/comment-page-1/#comment-413</link>
		<dc:creator>WallTearer</dc:creator>
		<pubDate>Tue, 13 Dec 2011 16:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.btaz.com/?p=152#comment-413</guid>
		<description>Hey.

Thanks a lot for the article, but I think you have to add another step between 2 and 3: git commit -m &quot;Comment&quot;

Because I was following your steps, and only after applying git commit I became able to push my changes</description>
		<content:encoded><![CDATA[<p>Hey.</p>
<p>Thanks a lot for the article, but I think you have to add another step between 2 and 3: git commit -m &#8220;Comment&#8221;</p>
<p>Because I was following your steps, and only after applying git commit I became able to push my changes</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unix/Linux Sort Multiple Columns, Tab Delimited and Reverse Sort Order by shubha</title>
		<link>http://www.btaz.com/unixlinux/unixlinux-sort-multiple-columns-tab-delimited-and-reverse-sort-order/comment-page-1/#comment-277</link>
		<dc:creator>shubha</dc:creator>
		<pubDate>Tue, 10 May 2011 05:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.btaz.com/?p=179#comment-277</guid>
		<description>This was a great example. I really got what information I was looking for especially with sort -k options.

Thanks,</description>
		<content:encoded><![CDATA[<p>This was a great example. I really got what information I was looking for especially with sort -k options.</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unix/Linux Sort Multiple Columns, Tab Delimited and Reverse Sort Order by thushara</title>
		<link>http://www.btaz.com/unixlinux/unixlinux-sort-multiple-columns-tab-delimited-and-reverse-sort-order/comment-page-1/#comment-270</link>
		<dc:creator>thushara</dc:creator>
		<pubDate>Thu, 17 Mar 2011 23:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.btaz.com/?p=179#comment-270</guid>
		<description>I found a case where even LC_ALL=C does not help...

echo -e &quot;alan\t20\t3\t0\ngeorge\t5\t0\t0\nalice\t3\t5\t0\ndora\t4\t9\t5&quot; &#124; LC_ALL=C sort -n -k 2 -t \t

alan	20	3	0
alice	3	5	0
dora	4	9	5
george	5	0	0</description>
		<content:encoded><![CDATA[<p>I found a case where even LC_ALL=C does not help&#8230;</p>
<p>echo -e &#8220;alan\t20\t3\t0\ngeorge\t5\t0\t0\nalice\t3\t5\t0\ndora\t4\t9\t5&#8243; | LC_ALL=C sort -n -k 2 -t \t</p>
<p>alan	20	3	0<br />
alice	3	5	0<br />
dora	4	9	5<br />
george	5	0	0</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on fatal: git checkout: updating paths is incompatible with switching branches. by Dan</title>
		<link>http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/comment-page-1/#comment-269</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 17 Mar 2011 13:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.btaz.com/?p=162#comment-269</guid>
		<description>Great!  Thanks!  The error message was definitely confusing, but pulling first worked for me too.  Thank you.</description>
		<content:encoded><![CDATA[<p>Great!  Thanks!  The error message was definitely confusing, but pulling first worked for me too.  Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unix/Linux Sort Multiple Columns, Tab Delimited and Reverse Sort Order by michael</title>
		<link>http://www.btaz.com/unixlinux/unixlinux-sort-multiple-columns-tab-delimited-and-reverse-sort-order/comment-page-1/#comment-268</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Thu, 17 Mar 2011 06:33:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.btaz.com/?p=179#comment-268</guid>
		<description>This will solve your sort problem

sort -t , -k 2n,2 file-to-be-sorted.txt

You need &quot;-k 2,2&quot; to tell sort to only consider the second column. The &quot;n&quot; in &quot;-k 2n,2&quot; tells the sort command to sort the column numerically. If you omit the &quot;n&quot; 20 gets sorted before 3.

I did some testing and it seems that when you sort multiple numerical columns the numbers gets combined. When you specify &quot;-k 2&quot; you tell sort to use all columns from column two until the end of the line. You also specified comma to be the column separator. When you do this then I think sort see the data this way:

dora,4,0.9,5
alice,3,5,0
george,5,0,0
alan,20,3,0

becomes

dora,40.95
alice,350
george,500
alan,2030

Which is in order. I did a test with different numbers and still got the same behavior.</description>
		<content:encoded><![CDATA[<p>This will solve your sort problem</p>
<p>sort -t , -k 2n,2 file-to-be-sorted.txt</p>
<p>You need &#8220;-k 2,2&#8243; to tell sort to only consider the second column. The &#8220;n&#8221; in &#8220;-k 2n,2&#8243; tells the sort command to sort the column numerically. If you omit the &#8220;n&#8221; 20 gets sorted before 3.</p>
<p>I did some testing and it seems that when you sort multiple numerical columns the numbers gets combined. When you specify &#8220;-k 2&#8243; you tell sort to use all columns from column two until the end of the line. You also specified comma to be the column separator. When you do this then I think sort see the data this way:</p>
<p>dora,4,0.9,5<br />
alice,3,5,0<br />
george,5,0,0<br />
alan,20,3,0</p>
<p>becomes</p>
<p>dora,40.95<br />
alice,350<br />
george,500<br />
alan,2030</p>
<p>Which is in order. I did a test with different numbers and still got the same behavior.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unix/Linux Sort Multiple Columns, Tab Delimited and Reverse Sort Order by thushara</title>
		<link>http://www.btaz.com/unixlinux/unixlinux-sort-multiple-columns-tab-delimited-and-reverse-sort-order/comment-page-1/#comment-267</link>
		<dc:creator>thushara</dc:creator>
		<pubDate>Wed, 16 Mar 2011 23:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.btaz.com/?p=179#comment-267</guid>
		<description>try sorting this by 2nd column:

dora,4,0.9,5
alice,3,5,0
george,5,0,0
alan,20,3,0


with command:

cat   &#124; sort -n -k 2 -t ,

the 0.9 seems to confuse sort</description>
		<content:encoded><![CDATA[<p>try sorting this by 2nd column:</p>
<p>dora,4,0.9,5<br />
alice,3,5,0<br />
george,5,0,0<br />
alan,20,3,0</p>
<p>with command:</p>
<p>cat   | sort -n -k 2 -t ,</p>
<p>the 0.9 seems to confuse sort</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to control or throttle SCP file transfer speed by Cass Costello</title>
		<link>http://www.btaz.com/unixlinux/how-to-control-or-throttle-scp-file-transfer-speed/comment-page-1/#comment-246</link>
		<dc:creator>Cass Costello</dc:creator>
		<pubDate>Wed, 08 Sep 2010 02:41:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.btaz.com/?p=94#comment-246</guid>
		<description>Holy cow...what Lee said.  So handy, and so simple.  Thanks!</description>
		<content:encoded><![CDATA[<p>Holy cow&#8230;what Lee said.  So handy, and so simple.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to automatically provide an answer to Unix commands by chawlee</title>
		<link>http://www.btaz.com/unixlinux/how-to-automatically-provide-an-answer-to-unix-commands/comment-page-1/#comment-245</link>
		<dc:creator>chawlee</dc:creator>
		<pubDate>Tue, 31 Aug 2010 21:05:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.btaz.com/?p=73#comment-245</guid>
		<description>absolutely useful. i always pipe &quot;yes&quot; the wrong way and never get my files copied. rather annoying.

does the yes command eventually stop when the copy is done? i suppose I could test it out but i&#039;m already leaving the comment. =D</description>
		<content:encoded><![CDATA[<p>absolutely useful. i always pipe &#8220;yes&#8221; the wrong way and never get my files copied. rather annoying.</p>
<p>does the yes command eventually stop when the copy is done? i suppose I could test it out but i&#8217;m already leaving the comment. =D</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mockito an alternative to JMock by michael</title>
		<link>http://www.btaz.com/java/mockito-an-alternative-to-jmock/comment-page-1/#comment-241</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Fri, 16 Jul 2010 16:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.btaz.com/?p=38#comment-241</guid>
		<description>I think it&#039;s fairly easy to migrate tests from JMock to Mockito. Where I work we allow both of these frameworks and programmers are free to pick whichever they want within the same project. For us that prefer Mockito we typically leave the JMock tests in place unless there&#039;s a reason to rewrite them. However if I have to add new tests I typically use Mockito over JMock .</description>
		<content:encoded><![CDATA[<p>I think it&#8217;s fairly easy to migrate tests from JMock to Mockito. Where I work we allow both of these frameworks and programmers are free to pick whichever they want within the same project. For us that prefer Mockito we typically leave the JMock tests in place unless there&#8217;s a reason to rewrite them. However if I have to add new tests I typically use Mockito over JMock .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mockito an alternative to JMock by Mike</title>
		<link>http://www.btaz.com/java/mockito-an-alternative-to-jmock/comment-page-1/#comment-239</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 09 Jun 2010 14:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.btaz.com/?p=38#comment-239</guid>
		<description>how easy is it to migrate to mockito from Jmock if you have loads of JMock tests ?</description>
		<content:encoded><![CDATA[<p>how easy is it to migrate to mockito from Jmock if you have loads of JMock tests ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

