<?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/grep</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 16:32:38 GMT</pubDate>
<item>
<title>(Ruby) analysis of Hudson JUNit logfiles</title>
<link>http://snipplr.com/view/44499/analysis-of-hudson-junit-logfiles/</link>
<description><![CDATA[ <p>assuming you are standing in`$HUDSON_HOME/jobs/job_foo/builds/123`</p> ]]></description>
<pubDate>Sat, 20 Nov 2010 17:15:44 GMT</pubDate>
<guid>http://snipplr.com/view/44499/analysis-of-hudson-junit-logfiles/</guid>
</item>
<item>
<title>(Bash) kill zombie processes</title>
<link>http://snipplr.com/view/41095/kill-zombie-processes/</link>
<description><![CDATA[ <p>Thanks to [Kastner](http://metaatem.net/) for these snippets.</p> ]]></description>
<pubDate>Tue, 28 Sep 2010 07:14:38 GMT</pubDate>
<guid>http://snipplr.com/view/41095/kill-zombie-processes/</guid>
</item>
<item>
<title>(Bash) delete files older than 1 day</title>
<link>http://snipplr.com/view/40798/delete-files-older-than-1-day/</link>
<description><![CDATA[ <p>Finds and *removes* files older than 2 days.\r\n\r\n*Use with caution* obviously, as if you fuck up, you\'ll certainly delete files you want to keep, possibly *destroying your entire computer.*\r\n\r\nEnjoy!</p> ]]></description>
<pubDate>Tue, 21 Sep 2010 03:20:55 GMT</pubDate>
<guid>http://snipplr.com/view/40798/delete-files-older-than-1-day/</guid>
</item>
<item>
<title>(SVN) Howto list all the file extension types in an SVN log dump</title>
<link>http://snipplr.com/view/28195/howto-list-all-the-file-extension-types-in-an-svn-log-dump/</link>
<description><![CDATA[ <p>Note that on Windows you will want to double-quote the string argument to `perl -ne` rather than single-quoting it.  Otherwise this works on Windows (with Cygwin) as well.</p> ]]></description>
<pubDate>Thu, 11 Feb 2010 14:59:31 GMT</pubDate>
<guid>http://snipplr.com/view/28195/howto-list-all-the-file-extension-types-in-an-svn-log-dump/</guid>
</item>
<item>
<title>(Bash) Grep for files that do not match a pattern</title>
<link>http://snipplr.com/view/16699/grep-for-files-that-do-not-match-a-pattern/</link>
<description><![CDATA[ <p>The -L option lists files that do *not* contain a line matching the pattern given.</p> ]]></description>
<pubDate>Mon, 06 Jul 2009 16:37:12 GMT</pubDate>
<guid>http://snipplr.com/view/16699/grep-for-files-that-do-not-match-a-pattern/</guid>
</item>
<item>
<title>(Perl) grep with Perl</title>
<link>http://snipplr.com/view/11878/grep-with-perl/</link>
<description><![CDATA[ <p>A combination of the instructions in the book _Minimal Perl_ and [this Perl one-liners page](http://sial.org/howto/perl/one-liner/)

The general form of the one-liner is:

    > perl -wnl -e '/REGEX/ and print $ARGV." $.: $_"; close ARGV if eof' 

The example below shows how to print the hex colors that are defined in a [Sass](http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html) source tree.</p> ]]></description>
<pubDate>Thu, 05 Feb 2009 13:29:59 GMT</pubDate>
<guid>http://snipplr.com/view/11878/grep-with-perl/</guid>
</item>
<item>
<title>(Bash) Delicious ego boost from the command line</title>
<link>http://snipplr.com/view/9964/delicious-ego-boost-from-the-command-line/</link>
<description><![CDATA[ <p>This one-liner counts how many of the links to onemorebug.com there are on http://delicous.com/tag/noahsussman.

Basically it prints a number, and that number is the percentage of the top 100 links for that tag in delicious that point to your URL. 

Requires Grep, Lynx and Wc.</p> ]]></description>
<pubDate>Fri, 21 Nov 2008 22:29:39 GMT</pubDate>
<guid>http://snipplr.com/view/9964/delicious-ego-boost-from-the-command-line/</guid>
</item>
<item>
<title>(Bash) grep for either of two strings</title>
<link>http://snipplr.com/view/6819/grep-for-either-of-two-strings/</link>
<description><![CDATA[ <p>Here's an example of using grep to filter for links that contain the string 'jpg' or 'gif'</p> ]]></description>
<pubDate>Fri, 20 Jun 2008 15:29:33 GMT</pubDate>
<guid>http://snipplr.com/view/6819/grep-for-either-of-two-strings/</guid>
</item>
<item>
<title>(Bash) Exclude some directories from grep</title>
<link>http://snipplr.com/view/4744/exclude-some-directories-from-grep/</link>
<description><![CDATA[ <p>The following command will grep for a string in HTML files, but will skip the directories dirFoo and dirBar.  (Thanks Jeff)</p> ]]></description>
<pubDate>Wed, 23 Jan 2008 12:44:48 GMT</pubDate>
<guid>http://snipplr.com/view/4744/exclude-some-directories-from-grep/</guid>
</item>
<item>
<title>(Bash) Find/Grep for a string across multiple files with different extensions</title>
<link>http://snipplr.com/view/2033/findgrep-for-a-string-across-multiple-files-with-different-extensions/</link>
<description><![CDATA[ <p>Search many files for a string.  This example finds the string "thingy."  This is useful when I want to find, say, a CSS class name that has changed, and update it in all of my .js, .jsp and .jspf files.  

The -niP argument to grep is optional.  -n prints line numbers, -i makes search case-insensitive, and -P toggles Perl regular expression syntax.  (I'm not sure that -P works under Cygwin.)</p> ]]></description>
<pubDate>Sun, 28 Jan 2007 07:43:53 GMT</pubDate>
<guid>http://snipplr.com/view/2033/findgrep-for-a-string-across-multiple-files-with-different-extensions/</guid>
</item>
</channel>
</rss>