Monday, December 31, 2007

Very well said sir ...

“Civilization, in fact, grows more and more maudlin and hysterical; especially under democracy it tends to degenerate into a mere combat of crazes; the whole aim of practical politics is to keep the populace alarmed (and hence clamorous to be led to safety) by an endless series of hobgoblins, most of them imaginary."

H.L. Mencken

From the following article:

the airport security follies

Thursday, December 6, 2007

Unix command fun ...

I try to use the Unix commands whenever possible to keep my knowledge of them fresh. Today, I needed to remove quite a few files from an SVN repository. I moved them using mv instead of svn mv. So I used the following to capture the output from the status command, break it up and filter and then run through a script I wrote to perform the svn del.


svn_del.sh `svn st | cut -d' ' -f7 | grep .sql`