<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - noah</title>
<link>http://snipplr.com/users/noah/language/ruby/tags/Shell</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 17:06:57 GMT</pubDate>
<item>
<title>(Ruby) How to find the path to the script that is currently executing</title>
<link>http://snipplr.com/view/11032/how-to-find-the-path-to-the-script-that-is-currently-executing/</link>
<description><![CDATA[ <p>I just realized this kind of  regex operation is done with slice in Ruby.  In Perl that would be 

    print 'path/to/file' =~ m{(.*/)};</p> ]]></description>
<pubDate>Fri, 09 Jan 2009 09:12:14 GMT</pubDate>
<guid>http://snipplr.com/view/11032/how-to-find-the-path-to-the-script-that-is-currently-executing/</guid>
</item>
</channel>
</rss>