<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" version="2.0">
    <channel>
        <title>Mechanix</title>
        <link>http://perlbuzz.com/mechanix/</link>
        <description>Code, tech and getting dirt under your fingernails</description>
        <language>en</language>
        <copyright>Copyright 2013</copyright>
        <lastBuildDate>Mon, 19 Jul 2010 14:40:48 -0600</lastBuildDate>
        <generator>http://www.sixapart.com/movabletype/</generator>
        <docs>http://www.rssboard.org/rss-specification</docs>
        
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PerlBuzzMechanix" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="perlbuzzmechanix" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>42.348406</geo:lat><geo:long>-88.247697</geo:long><item>
            <title>Low-tech high-speed OS X program launching</title>
            <description><![CDATA[<p>I work in my OS X Terminal window all day long.  When I want to run iCal or Address Book, I don't want to be bothered with clicking around to find the app, even though they live in my Dock.  I could also use a program launcher like <a href="http://alfredapp.com/">Alfred</a>, which I like, but want it even faster.</p>

<p>For me, the fastest way to open iCal while I'm in the shell is to run "ical" from the prompt, which launches the app.</p>

<p>My ~/bin/ical program is simply</p>

<pre><code>#!/bin/sh
open /Applications/iCal.app/
</code></pre>

<p>and my ~/bin/addr is</p>

<pre><code>#!/bin/sh
open "/Applications/Address Book.app/"
</code></pre>

<p>You might think that it's overkill to write a shell program for such a silly task, but it's all about optimizing my time at the keyboard for my common cases.</p>

<p>Someone will note that I could have used a shell alias, and that's true, too.  Either way, I want a super simple way to get the apps I use most often.</p>
]]></description>
            <link>http://perlbuzz.com/mechanix/2010/07/low-tech-high-speed-os-x-progr.html</link>
            <guid>http://perlbuzz.com/mechanix/2010/07/low-tech-high-speed-os-x-progr.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Tools</category>
            
            
            <pubDate>Mon, 19 Jul 2010 14:40:48 -0600</pubDate>
        </item>
        
        <item>
            <title>Fixing my #1 bash annoyance</title>
            <description><![CDATA[<p>Ever open up a Terminal window and hit Tab and Bash sits for a few seconds until it finally comes back and asks</p>

<pre><code>Display all 2224 possibilities? (y or n)
</code></pre>

<p>Because it went and compiled a list of EVERY executable you could possibly want to execute?</p>

<p>Yeah, me, too, and I hate it.  The fix is simple.  Add this to your ~/.bashrc</p>

<pre><code>shopt -s no_empty_cmd_completion
</code></pre>

<p>No more completion on nothing!</p>
]]></description>
            <link>http://perlbuzz.com/mechanix/2010/07/fixing-my-1-bash-annoyance.html</link>
            <guid>http://perlbuzz.com/mechanix/2010/07/fixing-my-1-bash-annoyance.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Tools</category>
            
            
            <pubDate>Mon, 19 Jul 2010 13:54:18 -0600</pubDate>
        </item>
        
        <item>
            <title>Handling multiple SSH keys in your SSH config</title>
            <description><![CDATA[<p>I've been frustrated lately trying to juggle multiple SSH keys on various servers I'm on.  If I've got one set up to the Subversion server at work, then I can't authenticate with github.  If I let github be the server that I have a private key for, then I'm entering a password whenever I do an "svn up" on the work server.</p>

<p>I played with ssh-agent, but that seemed to require starting up a process every time I logged in, and I couldn't get it running in my .bashrc, and it required manually adding keys.</p>

<p>And then I stumbled across <a href="http://www.ibm.com/developerworks/aix/library/au-spunixpower.html">this article</a> that introduced me to the IdentityFile argument.  Now I have this in my ~/.ssh/config and all is well with the world.</p>

<pre>
Host github.com
    HostName github.com
    IdentityFile ~/.ssh/github_rsa
    User petdance
</pre>
]]></description>
            <link>http://perlbuzz.com/mechanix/2010/05/handling-multiple-ssh-keys-in.html</link>
            <guid>http://perlbuzz.com/mechanix/2010/05/handling-multiple-ssh-keys-in.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Subversion SSH github</category>
            
            <pubDate>Thu, 27 May 2010 13:22:50 -0600</pubDate>
        </item>
        
        <item>
            <title>Cool vim plugin of the day: surround.vim</title>
            <description><![CDATA[<p>The always amazing Peteris Krumins is starting a series of blog postings on cool plugins for vim, starting with <a href="http://www.catonmat.net/blog/vim-plugins-surround-vim/">this post about surround.vim</a>.</p>

<p>Just reading the article about the "old way" to do what surround.vim does was informative, showing me vim tricks I didn't know.</p>

<p>Seriously, anyone who reads Mechanix should have <a href="http://www.catonmat.net/">Peteris' blog</a> in her syndication reader.</p>
]]></description>
            <link>http://perlbuzz.com/mechanix/2008/12/cool-vim-plugin-of-the-day-sur.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/12/cool-vim-plugin-of-the-day-sur.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Tools</category>
            
            
            <pubDate>Mon, 08 Dec 2008 10:09:00 -0600</pubDate>
        </item>
        
        <item>
            <title>When to use JPEG, when to use PNG</title>
            <description><![CDATA[<p>
Too often I see web graphics that have been saved as JPEGs, not PNGs, and I cringe.  How can I tell?  <a href="http://lbrandy.com/blog/2008/10/my-first-and-last-webcomic/">This comic</a> shows the difference.
</p>]]></description>
            <link>http://perlbuzz.com/mechanix/2008/11/when-to-use-jpeg-when-to-use-p.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/11/when-to-use-jpeg-when-to-use-p.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Web</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">graphics</category>
            
            <pubDate>Wed, 12 Nov 2008 09:21:32 -0600</pubDate>
        </item>
        
        <item>
            <title>Git is my hero</title>
            <description><![CDATA[<p>
<i>By Selena Deckelmann</i>
</p>
		<p align="center"><a href="http://www.baconandtech.com/files/git.pdf"><img src="http://www.baconandtech.com/wp-content/uploads/2008/09/picture-7-300x225.png" alt="" title="picture-7" width="300" height="225" class="aligncenter size-medium wp-image-30" /></a></p>
<p>Last night, an incredible number of people showed up to <a href="http://pdx.codensplode.org">Code-N-Splode</a> to hear about Git. </p>
<p>I was not at all prepared for that number of people, but grateful that a couple experts were on hand to help - Sarah Sharp, Audrey Eschright and Michael Schwern (and others) all contributed to the discussion.  Thanks for all the great questions! I'm looking forward to Sarah&#8217;s advanced tutorial next month. </p>

<p>
<i><a href="http://www.baconandtech.com/2008/09/24/git-is-my-hero/">Selena Deckelmann</a> leads the <a href="http://pugs.postgresql.org/pdx">Portland PostgreSQL Users Group</a> and regularly contributes to <a href="http://pdx.codensplode.org">Code-N-Splode</a>, a group dedicated to getting more women involved in open source. She likes Perl. She'll be running a code sprint and giving a lightning talk on having more fun with open source at PostgreSQL Conference West, on October 17-19, 2008.</i>
</p>
]]></description>
            <link>http://perlbuzz.com/mechanix/2008/09/git-is-my-hero.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/09/git-is-my-hero.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Tools</category>
            
            
            <pubDate>Wed, 24 Sep 2008 16:44:07 -0600</pubDate>
        </item>
        
        <item>
            <title>Downloading video with Awk</title>
            <description><![CDATA[<p>
Peteris Krumins, the prolific blogger and programmer, decided to explore TCP/IP networking in GNU Awk, and came up with this, a <a href="http://www.catonmat.net/blog/revisiting-gnu-awk-youtube-video-downloader/">YouTube video downloader</a>.

</p>

<p>
Subscribe to Peteris' blog.  It's well worth reading.
</p>]]></description>
            <link>http://perlbuzz.com/mechanix/2008/08/downloading-video-with-awk.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/08/downloading-video-with-awk.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Data munging</category>
            
            
            <pubDate>Fri, 29 Aug 2008 13:07:49 -0600</pubDate>
        </item>
        
        <item>
            <title>Creating Excel files with Perl</title>
            <description><![CDATA[<p>
Linux Journal has <a href="http://www.linuxjournal.com/content/generating-native-excel-files-perl">an article on creating Excel files</a> using <a href="http://search.cpan.org/dist/Spreadsheet-WriteExcel">Spreadsheet::WriteExcel</a>.  It has its quirks, like creating corrupted spreadsheets if you try to populate a cell more than once, but when you need it, there's nothing else to do what it does.

</p>]]></description>
            <link>http://perlbuzz.com/mechanix/2008/08/creating-excel-files-with-perl.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/08/creating-excel-files-with-perl.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">CPAN</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Data munging</category>
            
            
            <pubDate>Mon, 11 Aug 2008 16:36:42 -0600</pubDate>
        </item>
        
        <item>
            <title>Scrabble cheating with Perl one-liners</title>
            <description><![CDATA[<p>
I'm in the middle of a game of Scrabulous with <a href="http://niroze.net/">Christoper Humphries</a> on Facebook, and I get "tolkien" handed to me in my tray.  Good letters, and I ought to be able to make a bingo out of them.  Alas, the best I could get to play on the board was "knot", but what else could I have made?  Perl to the rescue!
</p>
<p>
All I need to do is match across the contents of /usr/share/dict/words in a Perl one-liner.  The <tt>-n</tt> flag means "loop over the input file, but don't print $_".  My little program goes in <tt>-e</tt>, and it looks like this:
</p>
<pre>
$ perl -lne'print if /t/ && /o/ && /l/ && /k/ && /i/ &&
    /e/ && /n/' /usr/share/dict/words 
allokinetic
ankylopoietic
anticlockwise
automatonlike
bibliokleptomania
....
</pre>
<p>
Lots of good words, but they're awfully long.  Let's limit it to seven-letter bingos.  We have to use the <tt>-l</tt> flag to drop the linefeed from the input lines, so the <tt>length</tt> call is accurate.
</p>
<pre>
$ perl -lne'print if /t/ && /o/ && /l/ && /k/ && /i/ &&
    /e/ && /n/ && length($_)==7' /usr/share/dict/words
$
</pre>
<p>
Shoot, nothing there.  Let's try eight.
</p>
<pre>
perl -lne'print if /t/ && /o/ && /l/ && /k/ && /i/ &&
    /e/ && /n/ && length($_)==8' /usr/share/dict/words 
knotlike
townlike
</pre>
<p>
"knotlike"!  That would have been beautiful.  Oh well. :-(
</p>]]></description>
            <link>http://perlbuzz.com/mechanix/2008/06/scrabble-cheating-with-perl-on.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/06/scrabble-cheating-with-perl-on.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Code craft</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Data munging</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Scrabble</category>
            
            <pubDate>Mon, 02 Jun 2008 23:09:58 -0600</pubDate>
        </item>
        
        <item>
            <title>Use Getopt::Long even if you don't think you need to</title>
            <description><![CDATA[<p>
<a href="http://perlmonks.org/?node_id=687283">Thread over on perlmonks</a> talks about Tom Christiansen's assertion that you should use it, by default, even when you only have one command-line argument to parse:
</p>
<blockquote>
    What seems to happen is that at first we just want to add--oh say for example JUST ONE, SINGLE LITTLE -v flag. Well, that's so easy enough to hand-hack, that of course we do so... But just like any other piece of software, these things all seem to have a way of overgrowing their original expectations... Getopt::Long is just *wonderful*, up--I believe--to any job you can come up with for it. Too often <b>its absence means that I've in the long run made more work for myself--or others--by not having used it originally.</b> [Emphasis mine -- Andy]
</blockquote>
<p>
I can't agree more.  I don't care if you use
<a href="http://search.cpan.org/dist/Getopt-Long">Getopt::Long</a> or
<a href="http://search.cpan.org/dist/Getopt-Declare">Getopt::Declare</a> or
<a href="http://search.cpan.org/dist/Getopt-Lucid">Getopt::Lucid</a> or any of the other
<a href="http://search.cpan.org/search?query=getopt&mode=dist">variants out there</a>.  You know <i>know</i> <b>know</b> that you're going to add more arguments down the road, so why not start out right?
</p>
<p>
Yes, it can be tricky to get through all of its magic if you're unfamiliar with it, but it's pretty obvious when you see enough examples.  Take a look at <i>prove</i> or <a href="http://petdance.com/ack/"><i>ack</i></a> for examples.  <a href="http://search.cpan.org/src/PETDANCE/WWW-Mechanize-1.34/bin/mech-dump">mech-dump</a> is pretty decent as an example as well:
</p>
<pre>
GetOptions(
    'user=s'        => \$user,
    'password=s'    => \$pass,
    forms           => sub { push( @actions, \&dump_forms ); },
    links           => sub { push( @actions, \&dump_links ); },
    images          => sub { push( @actions, \&dump_images ); },
    all             => sub { push( @actions, \&dump_forms, \&dump_links, \&dump_images ); },
    absolute        => \$absolute,
    'agent=s'       => \$agent,
    'agent-alias=s' => \$agent_alias,
    help            => sub { pod2usage(1); },
) or pod2usage(2);
</pre>
<p>Where the value in the hashref is a variable reference, the value gets stored in there.  Where it's a <tt>sub</tt>, that sub gets executed with the arguments passed in.  That's the basics, and you don't have to worry about anything else.  Your user can pass --abs instead of --absolute if it's unambiguous.  You can have mandatory flags, as in agent=s, where --agent must take a string.  On and on, it's probably got the functionality you need.
</p>
<p>
One crucial reminder: You <b>must</b> check the return code of <tt>GetOptions</tt>.  Otherwise, your program will carry on. If someone gives your program an invalid argument on the command-line, then you <b>know</b> that the program cannot possibly be running in the way the user intended.  Your program must stop immediately.
</p>
<p> Not checking the return of <tt>GetOptions</tt> is as bad as not checking the return of <tt>open</tt>.  In fact, I think I smell a new <a href="http://perlcritic.tigris.org/">Perl Critic</a> policy....</p>
]]></description>
            <link>http://perlbuzz.com/mechanix/2008/05/use-getoptlong-even-if-you-don.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/05/use-getoptlong-even-if-you-don.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Code craft</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Modules</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Tools</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Getopt::Long</category>
            
            <pubDate>Sun, 25 May 2008 21:20:17 -0600</pubDate>
        </item>
        
        <item>
            <title>Pragmatic Programmer on estimating</title>
            <description><![CDATA[<p>
From <a href="http://www.pragprog.com/the-pragmatic-programmer/extracts/tips">The Pragmatic Programmer</a>:

<BLOCKQUOTE>
What's the value of <I>pi</I>?  If you're wondering how much edging to
put around a circular flower bed, then "3" is probably good enough.
If you're in school, then maybe "22/7" is a good approximation.  If
you're in NASA, then maybe 12 decimal places will do.
</BLOCKQUOTE>
]]></description>
            <link>http://perlbuzz.com/mechanix/2008/05/pragmatic-programmer-on-estima.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/05/pragmatic-programmer-on-estima.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Code craft</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">estimating</category>
            
            <pubDate>Sat, 17 May 2008 23:58:02 -0600</pubDate>
        </item>
        
        <item>
            <title>How to write a simple database-backed website with Perl modules Mason and Class::DBI</title>
            <description><![CDATA[<p>
<a href="http://search.cpan.org/~alfie/">Alfie John</a> over at <a href="http://rental-property.co.nz">rental-property.co.nz</a> wrote to tell that the source code for the entire site, written using <a href="http://www.masonhq.com/">Mason</a> and <a href="http://wiki.class-dbi.com/wiki/Main_Page">Class::DBI</a>, is <a href="http://rental-property.co.nz/source/">available for download</a>.
</p>
<p>
For someone wanting to see an overview of how either Mason or Class::DBI work with real-world examples, not just samples from documentation, this is a great place to start.
</p>]]></description>
            <link>http://perlbuzz.com/mechanix/2008/05/how-to-write-a-simple-database.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/05/how-to-write-a-simple-database.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Databases</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Web</category>
            
            
            <pubDate>Fri, 16 May 2008 23:48:24 -0600</pubDate>
        </item>
        
        <item>
            <title>Optimizing file searches with File::Find::Rule</title>
            <description><![CDATA[<p>
Adam Kennedy posted an excellent article about <a href="http://use.perl.org/~Alias/journal/36415">huge performance hits he found with File::Find::Rule</a>.  From the docs, there's this sample to find all the *.pm files in <tt>@INC</tt>:
</p>
<blockquote>
<pre>
# Find all the .pm files in @INC
my @files = File::Find::Rule->file
                            ->name( '*.pm' )
                            ->in( @INC );
</pre>

<p>
What this search REALLY says is "Find every single file in all these trees, then do an slow IO stat call to the operating system on every single one to work out which ones are files, and only then do a quick regex match on the file names to keep the 5% that have the ending we want and throw away the 95% that don't".
</p>
</blockquote>
<p>
Now I'm worried about if I'm doing the right order of checking in <a href="http://search.cpan.org/dist/File-Next/">File::Next</a>, a lightweight file finder that <a href="http://petdance.com/ack/">ack</a> relies on.
</p>]]></description>
            <link>http://perlbuzz.com/mechanix/2008/05/optimizing-file-searches-with.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/05/optimizing-file-searches-with.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">CPAN</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">ack</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">File::Find::Rule</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">File::Next</category>
            
            <pubDate>Wed, 14 May 2008 09:07:07 -0600</pubDate>
        </item>
        
        <item>
            <title>The case of the blocking CREATE INDEX call</title>
            <description><![CDATA[<p>
I'd been working on a new functional index for the <a href="http://titletales.com/">work website</a>.  I created a Pgsql function to normalize the title of a book
</p>
<pre>
CREATE OR REPLACE FUNCTION exacttitle_key( TEXT ) 
    RETURNS text AS $$
    DECLARE
        key TEXT := upper( $1 );

    BEGIN
        key = regexp_replace( key,
            '^ *(?:A|AN|EL|LA|LO|THE|LOS|LAS)\\M *', '' );
        key = regexp_replace( key, '[^0-9A-Z ]+', '', 'g' );
        key = regexp_replace( key, ' {2,}', ' ', 'g' );

        RETURN trim( key );
    END

$$ LANGUAGE 'plpgsql'
IMMUTABLE STRICT;
</pre>
<p>
and tested it out, and all looked well.  It was marked as IMMUTABLE, so Pg can use it as an index function.  I created the index in psql:
</p>
<pre>
create index testbook_exacttitle on testbook 
    using btree (exacttitle_key(title));
</pre>
<p>
And all was well.  Now I wanted to see how long it took to create that index, so from the shell I did:
</p>
<pre>
$ time psql -c'drop index testbook_exacttitle; \
    create index testbook_exacttitle  on testbook \
    using btree (exacttitle_key(title));'
</pre>
<p>
I knew it would take about 5 minutes to add this index on 6.7 million records in testbook, so I didn't expect it to come back right away.  Then I realized that site response fell off the table.  <a href="http://ptop.projects.postgresql.org/">ptop</a> showed a couple dozen SELECT queries waiting to run.  I killed the process that was running the CREATE INDEX.  All the pending queries went on their merry way.  Everything was back to normal.
</p>
<p>
I tried that command line again, and the results were identical.  Dozens of queries backed up until I killed the CREATE INDEX process.  But why were those queries backing up?  That index was not used by any code yet.  I asked in #postgresql, but nobody knew the answer.  Then, someone said a word that clicked in my head.  I made a little change to how I was running the commands, and everything worked just fine.
</p>
<p>
<b><i>What was the word that helped Encyclopedia Lester figure out the problem?</i></b>  Turn to page 47 for the answer.
</p>
<p>
The word was "transaction".  If there are multiple commands as part of the -c option to <i>psql</i>, they are executed in in one transaction.  DROP INDEX blocks on the entire table, so the entire transaction blocked.  When I ran the DROP INDEX separately, and then reran the CREATE INDEX by itself, there was only the long blocking on the new index, which did not yet exist.
</p>
<p>
(With apologies to Donald J. Sobol and <a href="http://en.wikipedia.org/wiki/Encyclopedia_Brown">Encyclopedia Brown</a>)
</p>]]></description>
            <link>http://perlbuzz.com/mechanix/2008/04/how-to-accidentally-lock-up-yo.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/04/how-to-accidentally-lock-up-yo.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Databases</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">PostgreSQL</category>
            
            <pubDate>Tue, 29 Apr 2008 09:22:12 -0600</pubDate>
        </item>
        
        <item>
            <title>What commands do you run?</title>
            <description><![CDATA[<p>
<a href="http://textism.com/2008/04/16/no.one.tagged.me">People have been posting</a> in their blogs about what command they run, based on their shell histories.  The command that I've seen looks like this:
</p>
<pre>
history|awk '{a[$2]++} END{for(i in a){ \
printf "%5d\t%s \n",a[i],i}}'|sort -rn|head
</pre>
<p>
That works, of course, but who wants to use awk and the shell?  I pulled out the old Data::Hash::Totals module I wrote a while back, along with Perl's built-in awk simulation:
</p>
<pre>
$ history | perl -MData::Hash::Totals -ane'$x{$F[1]}++;' \
-e'END{print as_table(\%x, comma => 1)}' | head
207 vim
143 svn
125 make
 90 ack
 77 cd
 45 sdvx
 34 ssq
 31 ls
 25 ./login-fixup
 19 tail

alester:~ : cat `which sdvx`
#!/bin/sh

svn diff -x -w $* | view -
</pre>

and <tt>ssq</tt> is just an alias for <tt>svn status -q</tt>.
]]></description>
            <link>http://perlbuzz.com/mechanix/2008/04/what-commands-do-you-run.html</link>
            <guid>http://perlbuzz.com/mechanix/2008/04/what-commands-do-you-run.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Tools</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Awk</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">shell</category>
            
            <pubDate>Wed, 16 Apr 2008 10:31:38 -0600</pubDate>
        </item>
        
    </channel>
</rss>
