<?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/commandline</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 14 Oct 2008 00:28:11 GMT</pubDate>
<item>
<title>(Bash) Get the length of a string on the command line with Ruby</title>
<link>http://snipplr.com/view/5584/get-the-length-of-a-string-on-the-command-line-with-ruby/</link>
<description><![CDATA[ <p>The following command prints 21.</p> ]]></description>
<pubDate>Thu, 27 Mar 2008 23:08:41 GMT</pubDate>
<guid>http://snipplr.com/view/5584/get-the-length-of-a-string-on-the-command-line-with-ruby/</guid>
</item>
<item>
<title>(Perl) lwp-request</title>
<link>http://snipplr.com/view/5196/lwprequest/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 25 Feb 2008 12:28:41 GMT</pubDate>
<guid>http://snipplr.com/view/5196/lwprequest/</guid>
</item>
<item>
<title>(Perl) Generate XHTML on the command line with XML::API::XHTML</title>
<link>http://snipplr.com/view/4971/generate-xhtml-on-the-command-line-with-xmlapixhtml/</link>
<description><![CDATA[ <p>Build a simple XHTML document, format it with Tidy and print the result to "temp.html."</p> ]]></description>
<pubDate>Sun, 10 Feb 2008 02:21:23 GMT</pubDate>
<guid>http://snipplr.com/view/4971/generate-xhtml-on-the-command-line-with-xmlapixhtml/</guid>
</item>
<item>
<title>(Bash) Validate XHTML with Tidy and/or OpenJade, just like the FF extension</title>
<link>http://snipplr.com/view/4970/validate-xhtml-with-tidy-andor-openjade-just-like-the-ff-extension/</link>
<description><![CDATA[ <p>Neither command will give any feedback unless invalid markup is found.</p> ]]></description>
<pubDate>Sun, 10 Feb 2008 02:14:45 GMT</pubDate>
<guid>http://snipplr.com/view/4970/validate-xhtml-with-tidy-andor-openjade-just-like-the-ff-extension/</guid>
</item>
<item>
<title>(Other) ClearCase commands</title>
<link>http://snipplr.com/view/4328/clearcase-commands/</link>
<description><![CDATA[ <p>Here is a list of commands that work with Rational Software's ClearTool for Rational ClearCase version control system.</p> ]]></description>
<pubDate>Fri, 14 Dec 2007 11:24:19 GMT</pubDate>
<guid>http://snipplr.com/view/4328/clearcase-commands/</guid>
</item>
<item>
<title>(Bash) Scrape Google from the command line</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</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</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</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</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) 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>(SVN) Subversion repository URL changed, update the working copy so that it points to the new URL.</title>
<link>http://snipplr.com/view/3749/subversion-repository-url-changed-update-the-working-copy-so-that-it-points-to-the-new-url/</link>
<description><![CDATA[ <p>Run this command from within a directory that is a Subversion working copy.  The following command changes the host name of the server from "arithromancy" to "arithromancy.local".</p> ]]></description>
<pubDate>Wed, 19 Sep 2007 18:45:50 GMT</pubDate>
<guid>http://snipplr.com/view/3749/subversion-repository-url-changed-update-the-working-copy-so-that-it-points-to-the-new-url/</guid>
</item>
<item>
<title>(Perl) Automated UI test with Selenium-RC, WWW::Selenium and Test::More</title>
<link>http://snipplr.com/view/3707/automated-ui-test-with-seleniumrc-wwwselenium-and-testmore/</link>
<description><![CDATA[ <p>In order for this to work, the Selenium-RC server must be running.

See also the tutorial at http://search.cpan.org/~mschwern/Test-Simple-0.71/lib/Test/Tutorial.pod</p> ]]></description>
<pubDate>Sat, 15 Sep 2007 10:49:16 GMT</pubDate>
<guid>http://snipplr.com/view/3707/automated-ui-test-with-seleniumrc-wwwselenium-and-testmore/</guid>
</item>
<item>
<title>(Perl) command-line perl</title>
<link>http://snipplr.com/view/3145/commandline-perl/</link>
<description><![CDATA[ <p>couple of useful snippets from an article I found at Perl.com</p> ]]></description>
<pubDate>Wed, 04 Jul 2007 20:00:52 GMT</pubDate>
<guid>http://snipplr.com/view/3145/commandline-perl/</guid>
</item>
<item>
<title>(Perl) Grab linked files from a list of web pages</title>
<link>http://snipplr.com/view/3126/grab-linked-files-from-a-list-of-web-pages/</link>
<description><![CDATA[ <p>Expects as argument the name of a file containing a newline-delimited list of URLs.  When invoked, launches an interactive shell that asks what type of file should be downloaded.  Then downloads all the files that are linked from each of the listed Web pages.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:31:30 GMT</pubDate>
<guid>http://snipplr.com/view/3126/grab-linked-files-from-a-list-of-web-pages/</guid>
</item>
<item>
<title>(Perl) rename - Larry Wall's filename fixer</title>
<link>http://snipplr.com/view/2677/rename--larry-walls-filename-fixer/</link>
<description><![CDATA[ <p>Invoke this script without any arguments to see the help text.  From the Perl Cookbook, Ch. 9.9.</p> ]]></description>
<pubDate>Mon, 21 May 2007 04:49:45 GMT</pubDate>
<guid>http://snipplr.com/view/2677/rename--larry-walls-filename-fixer/</guid>
</item>
</channel>
</rss>