<?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/tags/create</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 04:41:11 GMT</pubDate>
<item>
<title>(Bash) howto create/change SVN externals (link an SVN repo to another path in the repo, or to another project entirely)</title>
<link>http://snipplr.com/view/30093/howto-createchange-svn-externals-link-an-svn-repo-to-another-path-in-the-repo-or-to-another-project-entirely/</link>
<description><![CDATA[ <p>Sometimes it is convenient to "pull in" code from an external source.  This is especially useful if you have dependencies that you don't manage yourself.</p> ]]></description>
<pubDate>Sun, 21 Mar 2010 13:05:06 GMT</pubDate>
<guid>http://snipplr.com/view/30093/howto-createchange-svn-externals-link-an-svn-repo-to-another-path-in-the-repo-or-to-another-project-entirely/</guid>
</item>
<item>
<title>(Bash) Create a directory recursively</title>
<link>http://snipplr.com/view/3979/create-a-directory-recursively/</link>
<description><![CDATA[ <p>Given the legal path of a nonexistent directory, create that path and directory.</p> ]]></description>
<pubDate>Tue, 23 Oct 2007 02:01:14 GMT</pubDate>
<guid>http://snipplr.com/view/3979/create-a-directory-recursively/</guid>
</item>
<item>
<title>(Perl) create new files</title>
<link>http://snipplr.com/view/3132/create-new-files/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:50:04 GMT</pubDate>
<guid>http://snipplr.com/view/3132/create-new-files/</guid>
</item>
<item>
<title>(Perl) Remove duplicate lines from a text file with Perl</title>
<link>http://snipplr.com/view/3124/remove-duplicate-lines-from-a-text-file-with-perl/</link>
<description><![CDATA[ <p>*[Found at Google Answers.](http://answers.google.com/answers/threadview?id=25196)*

Sometimes I get a big list of things, and some of the things occur multiple times in the same list.  To make the list easier to read, I want to *delete* the duplicate lines.
 
A good example is a list of files that have errors (maybe excerpted from an application sever's log files).  In that case you have a newline-delimited list of file paths,  and depending upon the situation, the same file path might be listed 4 or 5 times or more.  Often, it is useful to have a list of just the files that are faulty, which can be produced by deleting all the duplicate lines.  This script is for filtering just those kinds of list files.

[Of course,](http://xkcd.com/378/ "emacs has a command for that")  for **Emacs** users  [there is a much easier way to remove duplicate lines:](http://everything2.com/title/useful%2520emacs%2520lisp%2520functions "useful emacs lisp functions"), if you have `uniq` installed on your system.

`M-x sort-lines RET C-x h M-x shell-command-on-region RET uniq RET`</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:06:34 GMT</pubDate>
<guid>http://snipplr.com/view/3124/remove-duplicate-lines-from-a-text-file-with-perl/</guid>
</item>
<item>
<title>(Perl) Make a list of JPEGs into a slide show</title>
<link>http://snipplr.com/view/3123/make-a-list-of-jpegs-into-a-slide-show/</link>
<description><![CDATA[ <p>Show jpegs one-per-page on a series of hyperlinked web pages.  Purpose was to provide a linear viewing mechanism for jpegs on my Palm Tungsten C.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:02:15 GMT</pubDate>
<guid>http://snipplr.com/view/3123/make-a-list-of-jpegs-into-a-slide-show/</guid>
</item>
</channel>
</rss>
