Buzz


Buzz
Originally uploaded by bluesterror

It’s like those bees with dogs in their lap, and when they stand up they shoot dogs at you?

From my camera phone.

sed

Sometimes I look at a long Unix pipeline and think, “I should do this in perl.” Other times, it is, “I bet I can do this all in sed.” So, here’s how to print just the lines of a file following a successful match in sed:

sed -n ':s; /^regexp$/{b l}; n; b s; :l; p; n; b l' file.txt

Lazyweb, is there a shorter way?

July

I suppose I must make a blog entry this month so that I do not get logged out for inactivity. Like the blog, I have let the projects slide lately. I have a half-drawn schematic sitting in Eagle and a new kite in the design phase, but I haven’t hit these particular projects too hard. How have I been spending the last month, then? Here’s how:

  • Working. Yay for compulsory overtime.
  • Teaching myself Spanish. I don’t know why.
  • Various wedding things. Invites are in the mail.
  • Going to a baseball game.
  • Guessing the plots of Sherlock Holmes stories after reading the first two pages.
  • Being unmotivated to do other stuff.

Angeline and I had engagement photos taken and we got a couple of proofs back. Check out the one I put one on the website.