<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://www.illusori.co.uk/xsl/rss.xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Sam's Blog &gt; Note-to-future-me</title>
    <link>http://www.illusori.co.uk/blog/categories/note-to-future-me/</link>
    <description>Sam's Blog, feed for category note-to-future-me</description>
    <language>en-gb</language>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <pubDate>Fri, 15 Jun 2012 12:59:00 GMT</pubDate>
    <lastBuildDate>Fri, 15 Jun 2012 12:59:00 GMT</lastBuildDate>
    <generator>build_site 1.0</generator>
    <webMaster>rss@illusori.co.uk</webMaster>

    <item>
      <title><![CDATA[Shell-quoting future me, printf -v &quot;%q&quot; is what you&#39;re looking for]]></title>
      <link>http://www.illusori.co.uk/blog/2012/06/15/future_me_shell_meta_quoting.html</link>
      <description><![CDATA[<p>Note to future me: Are you trying to remember how to
shell-quote/escape the contents of a variable to avoid
going utterly insane from the nested double-quotes and
backslashing?</p>
<p><code>printf -v escaped_var &quot;%q&quot; &quot;$var&quot;</code> is the command
that you can never remember, and never find the documentation
for until you&#39;ve wasted a morning of your life.</p>
<p>Don&#39;t forget it next time. Or at least, remember that
you wrote this note, kthxbai.</p><p><a href="http://www.illusori.co.uk/blog/2012/06/15/future_me_shell_meta_quoting.html">Read more...</a></p>]]></description>
      <dc:creator>Sam Graham</dc:creator>
      <category>bash</category>
      <category>shell-scripting</category>
      <category>note-to-future-me</category>
      <pubDate>Fri, 15 Jun 2012 12:59:00 GMT</pubDate>
      <guid isPermaLink="true">http://www.illusori.co.uk/blog/2012/06/15/future_me_shell_meta_quoting.html</guid>
    </item>

  </channel>
</rss>
