<?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>Sun, 23 Nov 2008 07:44:01 GMT</pubDate>
<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>