<?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: Magic Pipes</title>
	<atom:link href="http://www.snell-pym.org.uk/archives/2009/06/25/magic-pipes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.snell-pym.org.uk/archives/2009/06/25/magic-pipes/</link>
	<description>Sarah and Alaric Snell-Pym living in interesting times</description>
	<pubDate>Fri, 12 Mar 2010 02:35:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: alaric</title>
		<link>http://www.snell-pym.org.uk/archives/2009/06/25/magic-pipes/comment-page-1/#comment-102736</link>
		<dc:creator>alaric</dc:creator>
		<pubDate>Thu, 13 Aug 2009 10:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.snell-pym.org.uk/?p=1530#comment-102736</guid>
		<description>&lt;p&gt;foof (author of the aforementioned fmt egg) made a good suggestion on IRC: As well as supporting the &lt;code&gt;-e&lt;/code&gt; flag for a sort expression, for the common case of &lt;code&gt;-e "(foo INPUT)"&lt;/code&gt;, we can have a shorthand of &lt;code&gt;-k foo&lt;/code&gt;, where &lt;code&gt;foo&lt;/code&gt; is any function (eg, &lt;code&gt;cadr&lt;/code&gt;).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>foof (author of the aforementioned fmt egg) made a good suggestion on IRC: As well as supporting the <code>-e</code> flag for a sort expression, for the common case of <code>-e "(foo INPUT)"</code>, we can have a shorthand of <code>-k foo</code>, where <code>foo</code> is any function (eg, <code>cadr</code>).</p>]]></content:encoded>
	</item>
	<item>
		<title>By: alaric</title>
		<link>http://www.snell-pym.org.uk/archives/2009/06/25/magic-pipes/comment-page-1/#comment-98012</link>
		<dc:creator>alaric</dc:creator>
		<pubDate>Tue, 30 Jun 2009 09:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.snell-pym.org.uk/?p=1530#comment-98012</guid>
		<description>&lt;p&gt;Ah, cadr is a shorthand function for (car (cdr ...))&lt;/p&gt;

&lt;p&gt;If INPUT is (a b), then (car INPUT) is a, (cdr INPUT) is (b), and (cadr INPUT) is (car '(b)) which is just b.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ah, cadr is a shorthand function for (car (cdr ...))</p>

<p>If INPUT is (a b), then (car INPUT) is a, (cdr INPUT) is (b), and (cadr INPUT) is (car '(b)) which is just b.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: @ndy</title>
		<link>http://www.snell-pym.org.uk/archives/2009/06/25/magic-pipes/comment-page-1/#comment-98006</link>
		<dc:creator>@ndy</dc:creator>
		<pubDate>Tue, 30 Jun 2009 07:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.snell-pym.org.uk/?p=1530#comment-98006</guid>
		<description>&lt;p&gt;sort -t, -k3&lt;/p&gt;

&lt;p&gt;In the cheese example, what is cadr?
 &#124; sort -e "(cadr INPUT)" -c "(string&#60;? A B)"
Should it be cdr?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>sort -t, -k3</p>

<p>In the cheese example, what is cadr?
 | sort -e "(cadr INPUT)" -c "(string&lt;? A B)"
Should it be cdr?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.snell-pym.org.uk/archives/2009/06/25/magic-pipes/comment-page-1/#comment-97723</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Thu, 25 Jun 2009 11:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.snell-pym.org.uk/?p=1530#comment-97723</guid>
		<description>&lt;p&gt;Check out Windows PowerShell. Instead of returning text, it returns objects, which can then be operated on by the next command in sequence.&lt;/p&gt;

&lt;p&gt;Actually looks quite shiny.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Check out Windows PowerShell. Instead of returning text, it returns objects, which can then be operated on by the next command in sequence.</p>

<p>Actually looks quite shiny.</p>]]></content:encoded>
	</item>
</channel>
</rss>
