<?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"
	>
<channel>
	<title>Comments on: Stand back, I know regular expressions</title>
	<atom:link href="http://www.sourceguru.net/archives/106/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sourceguru.net/archives/106</link>
	<description></description>
	<pubDate>Sat, 06 Sep 2008 18:46:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: suy</title>
		<link>http://www.sourceguru.net/archives/106#comment-15553</link>
		<dc:creator>suy</dc:creator>
		<pubDate>Thu, 03 Jan 2008 22:14:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.sourceguru.net/archives/106#comment-15553</guid>
		<description>Not only apt supports regular expressions directly, but also aptitude has much nicer support for searches. I never ever had to grep the output from aptitude, specially because it's impossible inside the (optional) GUI mode (and that's the main reason for aptitude having such a powerful search method).</description>
		<content:encoded><![CDATA[<p>Not only apt supports regular expressions directly, but also aptitude has much nicer support for searches. I never ever had to grep the output from aptitude, specially because it&#8217;s impossible inside the (optional) GUI mode (and that&#8217;s the main reason for aptitude having such a powerful search method).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mez</title>
		<link>http://www.sourceguru.net/archives/106#comment-15552</link>
		<dc:creator>Mez</dc:creator>
		<pubDate>Thu, 03 Jan 2008 19:50:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.sourceguru.net/archives/106#comment-15552</guid>
		<description>Sebastian, as that was the quickest thing to start with - before the expression was refined... yeah, stupid I know.. but, in my experience egrep is generally ungreedy</description>
		<content:encoded><![CDATA[<p>Sebastian, as that was the quickest thing to start with - before the expression was refined&#8230; yeah, stupid I know.. but, in my experience egrep is generally ungreedy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mez</title>
		<link>http://www.sourceguru.net/archives/106#comment-15551</link>
		<dc:creator>Mez</dc:creator>
		<pubDate>Thu, 03 Jan 2008 19:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.sourceguru.net/archives/106#comment-15551</guid>
		<description>Eiki, I know I know, but sometimes, you just get lazy</description>
		<content:encoded><![CDATA[<p>Eiki, I know I know, but sometimes, you just get lazy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ilmari</title>
		<link>http://www.sourceguru.net/archives/106#comment-15547</link>
		<dc:creator>ilmari</dc:creator>
		<pubDate>Thu, 03 Jan 2008 16:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.sourceguru.net/archives/106#comment-15547</guid>
		<description>I was going to point out that apt-cache takes regexps, but instead I'll just mention the --names-only option, which you want in this case (it still searches provides as well as the package name itself, which is why util-linux shows up, as it Provides: schedutils).</description>
		<content:encoded><![CDATA[<p>I was going to point out that apt-cache takes regexps, but instead I&#8217;ll just mention the &#8211;names-only option, which you want in this case (it still searches provides as well as the package name itself, which is why util-linux shows up, as it Provides: schedutils).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eike Herzbach</title>
		<link>http://www.sourceguru.net/archives/106#comment-15546</link>
		<dc:creator>Eike Herzbach</dc:creator>
		<pubDate>Thu, 03 Jan 2008 11:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.sourceguru.net/archives/106#comment-15546</guid>
		<description>Stand back, http://partmaps.org/era/unix/award.html#wc ;)</description>
		<content:encoded><![CDATA[<p>Stand back, <a href="http://partmaps.org/era/unix/award.html#wc" rel="nofollow">http://partmaps.org/era/unix/award.html#wc</a> <img src='http://www.sourceguru.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Smith</title>
		<link>http://www.sourceguru.net/archives/106#comment-15543</link>
		<dc:creator>Joe Smith</dc:creator>
		<pubDate>Thu, 03 Jan 2008 07:57:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.sourceguru.net/archives/106#comment-15543</guid>
		<description>I just picked up Mastering Regular Expressions (http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124) for Christmas, and it's already made my life a million times easier :)</description>
		<content:encoded><![CDATA[<p>I just picked up Mastering Regular Expressions (http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124) for Christmas, and it&#8217;s already made my life a million times easier <img src='http://www.sourceguru.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pistahh</title>
		<link>http://www.sourceguru.net/archives/106#comment-15542</link>
		<dc:creator>Pistahh</dc:creator>
		<pubDate>Thu, 03 Jan 2008 07:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.sourceguru.net/archives/106#comment-15542</guid>
		<description>instead of grep ... &#124; wc -l  you can use grep -c ...

Pistahh</description>
		<content:encoded><![CDATA[<p>instead of grep &#8230; | wc -l  you can use grep -c &#8230;</p>
<p>Pistahh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://www.sourceguru.net/archives/106#comment-15541</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Thu, 03 Jan 2008 06:15:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.sourceguru.net/archives/106#comment-15541</guid>
		<description>I cannot resist: why '^.*' in front?
How about this one:

apt-cache search '[^-]utils$' &#124; wc -l
</description>
		<content:encoded><![CDATA[<p>I cannot resist: why &#8216;^.*&#8217; in front?<br />
How about this one:</p>
<p>apt-cache search &#8216;[^-]utils$&#8217; | wc -l</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Schroeder</title>
		<link>http://www.sourceguru.net/archives/106#comment-15538</link>
		<dc:creator>Jeff Schroeder</dc:creator>
		<pubDate>Thu, 03 Jan 2008 02:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.sourceguru.net/archives/106#comment-15538</guid>
		<description>You know regular expressions, but you don't know that apt supports them!

I think my version is the prettiest:
apt-cache search '^.*[^-]utils$' &#124; wc -l</description>
		<content:encoded><![CDATA[<p>You know regular expressions, but you don&#8217;t know that apt supports them!</p>
<p>I think my version is the prettiest:<br />
apt-cache search &#8216;^.*[^-]utils$&#8217; | wc -l</p>
]]></content:encoded>
	</item>
</channel>
</rss>
