<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 20:31:05 +0000</lastBuildDate>
    <item>
      <title>(Other) Remove comment and empty lines from config files - amosshapira</title>
      <link>https://snipplr.com/view/5055/remove-comment-and-empty-lines-from-config-files</link>
      <description>&lt;p&gt;The following snippet will remove lines beginning with '#' (ignoring white space before the '#') and empty line. This helps viewing and comparing configuration files full of comments.&lt;/p&gt;</description>
      <pubDate>Wed, 13 Feb 2008 23:31:18 UTC</pubDate>
      <guid>https://snipplr.com/view/5055/remove-comment-and-empty-lines-from-config-files</guid>
    </item>
    <item>
      <title>(Perl) Convert error number to error message - amosshapira</title>
      <link>https://snipplr.com/view/4543/convert-error-number-to-error-message</link>
      <description>&lt;p&gt;Sometimes you can find error numbers in log files from various programs or even the kernel. This one-liner can be used to convert the error number into a meaningful message. "X" is the error number.&lt;/p&gt;</description>
      <pubDate>Sun, 13 Jan 2008 19:14:00 UTC</pubDate>
      <guid>https://snipplr.com/view/4543/convert-error-number-to-error-message</guid>
    </item>
    <item>
      <title>(Perl) Count directory entries in given directories - amosshapira</title>
      <link>https://snipplr.com/view/4542/count-directory-entries-in-given-directories</link>
      <description>&lt;p&gt;In response to a very simplistic solution suggestion using Shell, here is a basic version of what I use. The advantage of the solution below is that it is supposed to be much faster on directories with many files (I regularly use its full-blown version on directories with tens and hundreds of thousands of files).&lt;/p&gt;</description>
      <pubDate>Sun, 13 Jan 2008 18:04:31 UTC</pubDate>
      <guid>https://snipplr.com/view/4542/count-directory-entries-in-given-directories</guid>
    </item>
  </channel>
</rss>
