<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/bash/tags/perl</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 05 Sep 2008 01:52:58 GMT</pubDate>
<item>
<title>(Bash) Words with many doubled letters - zingo</title>
<link>http://snipplr.com/view/7056/words-with-many-doubled-letters/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 01 Jul 2008 19:28:07 GMT</pubDate>
<guid>http://snipplr.com/view/7056/words-with-many-doubled-letters/</guid>
</item>
<item>
<title>(Bash) Perl Search and Replace One-liner with xargs -0 - ches</title>
<link>http://snipplr.com/view/5078/perl-search-and-replace-oneliner-with-xargs-0/</link>
<description><![CDATA[ <p>\Q...\E perl quoting means no ugly escaping in the regex. find's -print0 with xargs -0 is the secret to handling files with spaces in their names.</p> ]]></description>
<pubDate>Fri, 15 Feb 2008 14:02:45 GMT</pubDate>
<guid>http://snipplr.com/view/5078/perl-search-and-replace-oneliner-with-xargs-0/</guid>
</item>
<item>
<title>(Bash) Batch rename files in directory - iblis</title>
<link>http://snipplr.com/view/4468/batch-rename-files-in-directory/</link>
<description><![CDATA[ <p>test with echo instead of mv
example removes spaces after dots, replaces spaces with _, removes ' , and -, and finally lowercases filenames</p> ]]></description>
<pubDate>Tue, 08 Jan 2008 17:28:53 GMT</pubDate>
<guid>http://snipplr.com/view/4468/batch-rename-files-in-directory/</guid>
</item>
<item>
<title>(Bash) Scrape Google from the command line - noah</title>
<link>http://snipplr.com/view/4299/scrape-google-from-the-command-line/</link>
<description><![CDATA[ <p>This code is POC only -- actually using it would violate Google's TOS, which forbids scraping.  It is published here for educational value only.

Hypothetically, the following command should return a list of the top 500 or so hits in Google for mysite.com.

The results will be prepended with digits, followed by a dot and some whitespace (Lynx adds these).</p> ]]></description>
<pubDate>Sun, 09 Dec 2007 21:16:58 GMT</pubDate>
<guid>http://snipplr.com/view/4299/scrape-google-from-the-command-line/</guid>
</item>
<item>
<title>(Bash) check linked pages for Tidy validation errors, on the command line - noah</title>
<link>http://snipplr.com/view/4130/check-linked-pages-for-tidy-validation-errors-on-the-command-line/</link>
<description><![CDATA[ <p>Given a list of HTML links (most likely a saved Google results page) check each linked page and report if Tidy complains that its doctype declaration is missing.

Besides DOCTYPE, other strings to search for include "discarding", "lacks value", "Error:"</p> ]]></description>
<pubDate>Tue, 13 Nov 2007 23:47:28 GMT</pubDate>
<guid>http://snipplr.com/view/4130/check-linked-pages-for-tidy-validation-errors-on-the-command-line/</guid>
</item>
<item>
<title>(Bash) Validate a list of Web pages with Tidy, on the command line - noah</title>
<link>http://snipplr.com/view/4129/validate-a-list-of-web-pages-with-tidy-on-the-command-line/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 13 Nov 2007 22:54:37 GMT</pubDate>
<guid>http://snipplr.com/view/4129/validate-a-list-of-web-pages-with-tidy-on-the-command-line/</guid>
</item>
<item>
<title>(Bash) Tail requests for HTML files - noah</title>
<link>http://snipplr.com/view/4069/tail-requests-for-html-files/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 05 Nov 2007 12:40:54 GMT</pubDate>
<guid>http://snipplr.com/view/4069/tail-requests-for-html-files/</guid>
</item>
<item>
<title>(Bash) Download linked JPEGs from a Web page, on the command line - noah</title>
<link>http://snipplr.com/view/4063/download-linked-jpegs-from-a-web-page-on-the-command-line/</link>
<description><![CDATA[ <p>The following command will download all the files with a JPG extension that are linked from http://flickr.com.</p> ]]></description>
<pubDate>Fri, 02 Nov 2007 22:57:45 GMT</pubDate>
<guid>http://snipplr.com/view/4063/download-linked-jpegs-from-a-web-page-on-the-command-line/</guid>
</item>
<item>
<title>(Bash) How to add a '.t' filetype to vi's syntax highlighting - wolfie</title>
<link>http://snipplr.com/view/2448/how-to-add-a-t-filetype-to-vis-syntax-highlighting/</link>
<description><![CDATA[ <p>This allows you to use perl syntax highlighting in vi for test scripts that use the ".t" file extension</p> ]]></description>
<pubDate>Wed, 11 Apr 2007 04:45:38 GMT</pubDate>
<guid>http://snipplr.com/view/2448/how-to-add-a-t-filetype-to-vis-syntax-highlighting/</guid>
</item>
<item>
<title>(Bash) Bash - Abilitare il NAT - whitetiger</title>
<link>http://snipplr.com/view/1639/bash--abilitare-il-nat/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:52 GMT</pubDate>
<guid>http://snipplr.com/view/1639/bash--abilitare-il-nat/</guid>
</item>
<item>
<title>(Bash) Bash - DVD2Divx - whitetiger</title>
<link>http://snipplr.com/view/1637/bash--dvd2divx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:45 GMT</pubDate>
<guid>http://snipplr.com/view/1637/bash--dvd2divx/</guid>
</item>
<item>
<title>(Bash) Bash - mp32wav - whitetiger</title>
<link>http://snipplr.com/view/1638/bash--mp32wav/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:45 GMT</pubDate>
<guid>http://snipplr.com/view/1638/bash--mp32wav/</guid>
</item>
<item>
<title>(Bash) Bash - rinomina.sh - whitetiger</title>
<link>http://snipplr.com/view/1627/bash--rinominash/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:34 GMT</pubDate>
<guid>http://snipplr.com/view/1627/bash--rinominash/</guid>
</item>
</channel>
</rss>