<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Schadenfreude &#187; sed</title>
	<atom:link href="http://www.ralree.com/tag/sed/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ralree.com</link>
	<description>Malicious enjoyment derived from observing someone else's misfortune</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:49:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Magical SVN Remove</title>
		<link>http://www.ralree.com/2006/08/06/magical-svn-remove/</link>
		<comments>http://www.ralree.com/2006/08/06/magical-svn-remove/#comments</comments>
		<pubDate>Sun, 06 Aug 2006 15:37:52 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[oneliners]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/magical-svn-remove</guid>
		<description><![CDATA[Have you ever wanted to batch remove some Subversion files? Try this on for size: svn rm `svn stat &#124; grep ! &#124; sed -e 's/^\!\s\+//;s/$/ /' &#124; tr -d '\n'` That will remove all the entries from svn stat that start with !. Very handy. Took a few minutes to write (sed wouldn’t get rid of my newline, so I used tr …), but it’s worth it.]]></description>
			<content:encoded><![CDATA[<p>Have you ever wanted to batch remove some Subversion files?  Try this on for size:</p>
<pre><code>
svn rm `svn stat | grep ! | sed -e 's/^\!\s\+//;s/$/ /' | tr -d '\n'`
</code></pre>
<p>That will remove all the entries from <em>svn stat</em> that start with <em>!</em>.  Very handy.  Took a few minutes to write (<strong>sed</strong> wouldn’t get rid of my newline, so I used <strong><em>tr</em></strong> …), but it’s worth it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2006/08/06/magical-svn-remove/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

